Remove separate query for each page to populate number of pending list items.