Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request.  # noqa: E501
### Context:
CREATE TABLE table_27961684_1 (state VARCHAR, enrollment VARCHAR)
### Question:
How many states were there when there was an enrollment of 2789?
### Answer:
SELECT COUNT(state) FROM table_27961684_1 WHERE enrollment = 2789