Adds a $pagination object to the collection, which makes it easy to page through items.
Check out the docs for the $pagination object