instruction: What's the total enrollment of public schools located in Buffalo, New York that were founded after 1846?
response: SELECT SUM("Enrollment") FROM table_43979 WHERE "Location" = 'buffalo, new york' AND "Affiliation" = 'public' AND "Founded" > '1846'