What's the sum of total where the rank is over 9 and the gold is less than 1?
CREATE TABLE "medal_count" (
  "rank" real,
  "nation" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
SELECT COUNT("total") FROM "medal_count" WHERE "rank">9 AND "gold"<1;