title: Change a rails engine method name in multiple rails clients
body: <p>We need to change to occurrences of a method that is in our API (A rails engine) in multiple clients. Not a fantastic place to be. I was wondering if there is a easier way to do this ? I am considering using an regex but though that commands on a new line could throw this approach.</p>
  
  <p>Basically </p>
  
  <pre><code>retention.group_by('bla').count 
  </code></pre>
  
  <p>needs to be changed to </p>
  
  <pre><code>retention.group_by('bla').size
  </code></pre>
  
  <p>This only applies to objects that are returned by the group_by, there are other occurrences of count on other objects which should not be changed  </p>