What are the different affiliations, and what is the total enrollment of schools founded after 1850 for each enrollment type?
select sum(enrollment), affiliation from university where founded > 1850 group by affiliation