title: findRowCount doesn't work when bean has property with @Formula annotation
body: <p>I have following class:</p>
  
  <pre><code>@Entity
  @Table(name = "clients")
  public class Client extends Model {
      @Id
      public int id;
  
      @Formula(select = "inv.some_data", 
              join = "left join (select 1 as some_data) as inv")
      public int someData;
  
      public static Finder&lt;String, Client&gt; find = 
          new Finder&lt;String, Client&gt;(String.class, Client.class);
  
      public static int countClientsWithData() {
          return Client.find.where().gt("someData", 0).findRowCount();
      }
  }
  </code></pre>
  
  <p>It has <code>someData</code> field (play framework will generate getters and setters automatically). And also <code>countClientsWithData</code> uses this field in <code>where</code> clause. Now if I do</p>
  
  <pre><code>int count = Client.countClientsWithData();
  </code></pre>
  
  <p>It will throw <code>NullPointerException</code> while trying to execute query</p>
  
  <pre><code>select count(*) from clients t0 where inv.some_data &gt; ?
  </code></pre>
  
  <p>Looks like <code>findRowCount</code> doesn't recognize join in <code>@Formula</code> annotation. Any thoughts on how to work around this problem?</p>
  
  <p><strong>Updated question:</strong> narrowed down problem to <code>findRowCount</code> call.</p>