A simple extension to the Doctrine Pagination feature that implements easy fetching of total result count and allows you to loop through pages