def get_age_breakdown(members):
	"""This function will retrieve all the ages of the members, and return the
	number of adults, seniors, children, infants, and the total number of
	family members. 
	
	"""	
	infants = 0
	children = 0
	adults = 0
	seniors = 0
	
	for member in members:
		if member.age < 2:
			infants = infants + 1
		elif member.age >= 2 and member.age < 18:
			children = children + 1
		elif member.age >= 18 and member.age < 65:
			adults = adults + 1
		else:
			seniors = seniors + 1
			
	total = infants + children + adults + seniors
	
	agegroups = {'infants':infants, 'children':children, 'adults':adults,
				'seniors':seniors, 'total':total}	
	return agegroups