Table schema:
CREATE TABLE table_name_7 (gold INTEGER, rank VARCHAR, bronze VARCHAR)

Question: What is the smallest number of gold medals corresponding to the total rank with more than 4 bronze medals?
SQL: SELECT MIN(gold) FROM table_name_7 WHERE rank = "total" AND bronze > 4