added pagination to counter get_count renderer