Table schema:
CREATE TABLE table_27961684_1 (state VARCHAR, enrollment VARCHAR)

Question: How many states were there when there was an enrollment of 2789?
SQL: SELECT COUNT(state) FROM table_27961684_1 WHERE enrollment = 2789