title: How to get the total count after Kaminari pagination
body: <p>I am using rails 3.2. I am paginating my results using .page(1).per_page(10) </p>
  
  <p>like </p>
  
  <pre><code>@users = User.method().page(1).per_page(10)
  </code></pre>
  
  <p>Now how to find the total count of the users from the pagination</p>
  
  <p>As because <code>@users.count</code> gives <strong>10</strong> from the first page and not the total count</p>
  
  <p>How to get the <strong>total count of the users even after pagination</strong></p>
  
  <p>EDIT : <code>@users.total_count</code> gives the whole paginated count</p>