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