Table schema:
CREATE TABLE table_name_25 (total VARCHAR, gold VARCHAR, rank VARCHAR)

Question: Name the number of total for 3 gold and rank less than 3
SQL: SELECT COUNT(total) FROM table_name_25 WHERE gold = 3 AND rank < 3