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_31 (gold VARCHAR, total VARCHAR, bronze VARCHAR, rank VARCHAR)
  ### Question:
  What is the total number of gold medals when there were 2 bronze medals, a total of more than 3 medals and ranked 61?
  ### Answer:
  SELECT COUNT(gold) FROM table_name_31 WHERE bronze = 2 AND rank = "61" AND total > 3