Fixed the count for the paged listings.