python script to aggregate population over/under 18 years old