CREATE TABLE "medal_table" (
  "rank" real,
  "nation" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);

Question: Name the number of total for 3 gold and rank less than 3
SQL: SELECT COUNT("total") FROM "medal_table" WHERE "gold"=3 AND "rank"<3;