Instruct: What is the total number of gold medals won among nations that won more than 27 bronze and less than 305 medals total?
Output: SELECT COUNT Gold FROM table WHERE Bronze > 27 AND Total < 305