Find the total number of students enrolled in the colleges that were founded after the year of 1850 for each affiliation type.
return affiliation types ;return colleges of  #1 ;return #2 founded after 1850 ;return students enrolled in #3 ;return number of #4 for each #1
['select', 'project', 'filter', 'project', 'group']