title: Using Knex and Objection with GraphQL, how to return the count()?
body: <p>I have a GraphQL server using Node, Knew and Objection.</p>
  
  <p>I have the following in my model:</p>
  
  <pre><code>  totalCount = async () =&gt; {
      const totalCount = await Request
        .query()
        .count();
      console.log(totalCount);
      return totalCount;
    }
  </code></pre>
  
  <p>The above is supposed to return an Int but is currently erroring with: <code>"Int cannot represent non 32-bit signed integer value: [object Object]",</code></p>
  
  <p>The console.log:</p>
  
  <pre><code>[ Request { totalCount: [Function], count: 14 } ]
  </code></pre>
  
  <p>The number 14 in the console log is correct. How can I get the func above to return an Int with the count?</p>