What is total number of the to par of player john mahaffey, who has a total less than 298?
CREATE TABLE "made_the_cut" (
  "player" text,
  "country" text,
  "year_s_won" text,
  "total" real,
  "to_par" real,
  "finish" text
);
SELECT COUNT("to_par") FROM "made_the_cut" WHERE "player"='john mahaffey' AND "total"<298;