How many golds have denmark as the nation, with a total less than 1?
CREATE TABLE "medals_table" (
  "rank" text,
  "nation" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
SELECT COUNT("gold") FROM "medals_table" WHERE "nation"='denmark' AND "total"<1;