CREATE TABLE table_name_18 (total VARCHAR2, silver VARCHAR2, rank VARCHAR2)

How many medals were won total for the country that won 1 silver and was ranked 2 or lower?
SELECT COUNT(total) FROM table_name_18 WHERE silver = 1 AND rank < 2
SELECT COUNT("total") FROM "table_name_18" WHERE "rank" < 2 AND "silver" = 1