Name the number of total for 3 gold and rank less than 3
CREATE TABLE "medal_table" (
  "rank" real,
  "nation" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
SELECT COUNT("total") FROM "medal_table" WHERE "gold"=3 AND "rank"<3;