CREATE TABLE table_name_32 (total VARCHAR, gold VARCHAR, rank VARCHAR)

How many totals have 1 gold and a rank smaller than 2?
SELECT COUNT(total) FROM table_name_32 WHERE gold = 1 AND rank < 2
SELECT COUNT("total") FROM "table_name_32" WHERE "gold" = 1 AND "rank" < 2