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_18 (total VARCHAR, silver VARCHAR, rank VARCHAR)
### Question:
How many medals were won total for the country that won 1 silver and was ranked 2 or lower?
### Answer:
SELECT COUNT(total) FROM table_name_18 WHERE silver = 1 AND rank < 2