Schema: 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?
SQL: SELECT COUNT(gold) FROM table_name_79 WHERE bronze = 3 AND rank > 7 AND total < 5