CREATE TABLE table_name_59 (gold VARCHAR(255), bronze VARCHAR(255), total VARCHAR(255))
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