I'm looking for a way to display "page x of x" in the toolbar portion of category and search results pages. When the products exceed the amount specified in the "results per page" filter, an ordered list of numbers is rendered, displaying the number of pages in product results. I need to display page numbers, not number of products.
This template is rendered from /templates/page/html/pager.phtml.
Can't find any info on this, have looked all over Google, Magento and StackExchange.