CREATE TABLE table_name_35 (matches VARCHAR, rider VARCHAR, total_points VARCHAR)

How many total matches involving dennis gavros had total points less than 167?
SELECT COUNT(matches) FROM table_name_35 WHERE rider = "dennis gavros" AND total_points < 167
SELECT COUNT("matches") FROM "table_name_35" WHERE "dennis gavros" = "rider" AND "total_points" < 167