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_79 (gold VARCHAR, total VARCHAR, bronze VARCHAR, rank VARCHAR)
  ### Question:
  How many golds for teams ranking below 7 with 3 bronze and less than 5 total medals?
  ### Answer:
  SELECT COUNT(gold) FROM table_name_79 WHERE bronze = 3 AND rank > 7 AND total < 5