How many totals have 1 for the gold, 12 for the rank, and a sliver greater than 0?
CREATE TABLE "medals_table" (
  "rank" text,
  "nation" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
SELECT COUNT("total") FROM "medals_table" WHERE "gold"=1 AND "rank"='12' AND "silver">0;