Fixes #5564 count works with elgg_get_entities_from_annotation_calculation()