Fix pagination:  count page