title: Counting all documents in a FaunaDB collection
body: <p>Is there a way to count all documents in a collection in FaunaDB?</p>
  <p>Say I have a <code>users</code> collection and I have defined an <code>all_users</code> index. What is the best way to count all documents in the <code>users</code> collection in the database?</p>
  <h2>Update: expanding on @Keston's answer below</h2>
  <ol>
  <li><p>The <code>all_users</code> index is no longer needed. Fauna now automatically maintains a built-in default index for each collection, and you can access it via <code>Documents(Collection('&lt;collection&gt;'))</code>.</p>
  </li>
  <li><p>You can count all users like so:</p>
  </li>
  </ol>
  <pre><code>Count(Documents(Collection('users')))
  </code></pre>