How many states were there when there was an enrollment of 2789?
CREATE TABLE table_27961684_1 (state VARCHAR, enrollment VARCHAR)
SELECT COUNT(state) FROM table_27961684_1 WHERE enrollment = 2789
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27961684_1 (state VARCHAR, enrollment VARCHAR) Question: How many states were there when there was an enrollment of 2789? [/INST] SELECT COUNT(state) FROM table_27961684_1 WHERE enrollment = 2789 </s>