SCHEMA:
CREATE TABLE table_name_32 (total VARCHAR, gold VARCHAR, rank VARCHAR)
USER:
How many totals have 1 gold and a rank smaller than 2?

QUERY:
SELECT COUNT(total) FROM table_name_32 WHERE gold = 1 AND rank < 2