CREATE TABLE table_name_9 (to_par VARCHAR(255), player VARCHAR(255), total VARCHAR(255))
What is total number of the to par of player john mahaffey, who has a total less than 298?
    
SQL: SELECT COUNT(to_par) FROM table_name_9 WHERE player = "john mahaffey" AND total < 298