CREATE TABLE "leaders" (
  "rank" real,
  "player" text,
  "country" text,
  "earnings" real,
  "events" real,
  "wins" real
);

Question: How many win total which has the rank smaller than 3 and events smaller than 22
SQL: SELECT COUNT("wins") FROM "leaders" WHERE "events"<22 AND "rank"<3;