page through get_all_entity_ids