text: Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request.  # noqa: E501
  ### Context:
  CREATE TABLE table_name_35 (matches VARCHAR, rider VARCHAR, total_points VARCHAR)
  ### Question:
  How many total matches involving dennis gavros had total points less than 167?
  ### Answer:
  SELECT COUNT(matches) FROM table_name_35 WHERE rider = "dennis gavros" AND total_points < 167