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

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