Task: Text to Code
Input (English): SQL: SELECT Count ( * ) , Affiliation FROM university WHERE Founded < 1850 GROUP BY Affiliation
Feedback: Replace affiliation with enrollment , find corresponding rows to each value of affiliation . make sure greater than 1850.
Output (English): SELECT sum(Enrollment) ,  affiliation FROM university WHERE founded  >  1850 GROUP BY affiliation