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_17 (gold VARCHAR, rank VARCHAR, total VARCHAR)
  ### Question:
  How many golds have 3 as the rank, with a total greater than 7?
  ### Answer:
  SELECT COUNT(gold) FROM table_name_17 WHERE rank = "3" AND total > 7