How many states were there when there was an enrollment of 2789?
CREATE TABLE table_30140 (
    "Institution" text,
    "City" text,
    "State" text,
    "Team Name" text,
    "Affiliation" text,
    "Enrollment" real,
    "Home Conference" text
)
SELECT COUNT("State") FROM table_30140 WHERE "Enrollment" = '2789'
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: How many states were there when there was an enrollment of 2789? ### Input: CREATE TABLE table_30140 (
    "Institution" text,
    "City" text,
    "State" text,
    "Team Name" text,
    "Affiliation" text,
    "Enrollment" real,
    "Home Conference" text
) ### Response: SELECT COUNT("State") FROM table_30140 WHERE "Enrollment" = '2789'