text: 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_39 (rank VARCHAR, nation VARCHAR, total VARCHAR)
  ### Question:
  How many ranks are for Switzerland with more than 2 total medals?
  ### Answer:
  SELECT COUNT(rank) FROM table_name_39 WHERE nation = "switzerland" AND total > 2