SCHEMA:
CREATE TABLE table_name_25 (total VARCHAR, gold VARCHAR, rank VARCHAR)
User Question:
Name the number of total for 3 gold and rank less than 3


SELECT COUNT(total) FROM table_name_25 WHERE gold = 3 AND rank < 3