What is the total number of gold medals won among nations that won more than 27 bronze and less than 305 medals total?
CREATE TABLE "world_championships_total_medals" (
  "rank" text,
  "nation" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
SELECT COUNT("gold") FROM "world_championships_total_medals" WHERE "bronze">27 AND "total"<305;