Added countTotalPages() to paginators

Signed-off-by: Tom Wright <tom@inflatablecookie.com>