Use count query to perform paging.

Large collections would cause PHP memory issues, as we tried to load an
entire collection into memory to get the count, before being sliced...
Flesh out documentation.
Merge pull request #70 from adam-vessey/7.x-use-count-query

Use count query to perform paging.