Table schema:
CREATE TABLE table_name_59 (gold VARCHAR, bronze VARCHAR, total VARCHAR)

Question: What is the total number of gold medals won among nations that won more than 27 bronze and less than 305 medals total?
SQL: SELECT COUNT(gold) FROM table_name_59 WHERE bronze > 27 AND total < 305