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_25 (total VARCHAR, gold VARCHAR, rank VARCHAR)
### Question:
Name the number of total for 3 gold and rank less than 3
### Answer:
SELECT COUNT(total) FROM table_name_25 WHERE gold = 3 AND rank < 3