modify _get_attendee_count function error