Schema: CREATE TABLE table_name_42 (gold VARCHAR, rank VARCHAR, total VARCHAR)
Question: What's the gold medal count ranked 2 with a total of more than 21?
SQL: SELECT COUNT(gold) FROM table_name_42 WHERE rank = 2 AND total > 21