Green: added get_count method that returns a count for each unique age