How many distinct delegates are from counties with population larger than 50000?
CREATE TABLE election (
    Delegate VARCHAR,
    District VARCHAR
)

CREATE TABLE county (
    County_id VARCHAR,
    Population INTEGER
)
SELECT COUNT(DISTINCT T2.Delegate) FROM county AS T1 JOIN election AS T2 ON T1.County_id = T2.District WHERE T1.Population > 50000
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 distinct delegates are from counties with population larger than 50000? ### Input: CREATE TABLE election (
    Delegate VARCHAR,
    District VARCHAR
)

CREATE TABLE county (
    County_id VARCHAR,
    Population INTEGER
) ### Response: SELECT COUNT(DISTINCT T2.Delegate) FROM county AS T1 JOIN election AS T2 ON T1.County_id = T2.District WHERE T1.Population > 50000