What's the gold medal count ranked 2 with a total of more than 21?
CREATE TABLE table_name_42 (
    gold VARCHAR,
    rank VARCHAR,
    total VARCHAR
)
SELECT COUNT(gold) FROM table_name_42 WHERE rank = 2 AND total > 21
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: What's the gold medal count ranked 2 with a total of more than 21? ### Input: CREATE TABLE table_name_42 (
    gold VARCHAR,
    rank VARCHAR,
    total VARCHAR
) ### Response: SELECT COUNT(gold) FROM table_name_42 WHERE rank = 2 AND total > 21