What is the total for Bob Tway for the year won before 2002 with a to par bigger than 7?
CREATE TABLE "missed_the_cut" (
  "player" text,
  "country" text,
  "year_won" real,
  "total" real,
  "to_par" real
);
SELECT COUNT("total") FROM "missed_the_cut" WHERE "year_won"<2002 AND "player"='bob tway' AND "to_par">7;