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