CREATE TABLE table_name_39 (rank VARCHAR2, nation VARCHAR2, total VARCHAR2)

How many ranks are for Switzerland with more than 2 total medals?
SELECT COUNT(rank) FROM table_name_39 WHERE nation = "switzerland" AND total > 2
SELECT COUNT("rank") FROM "table_name_39" WHERE "nation" = "switzerland" AND "total" > 2