Below is an instruction that describes a task. Write a response that appropriately completes the request.

### Instruction:
How many total matches involving dennis gavros had total points less than 167?

### Inputs:
table_name: table, columns: ['Rider', 'Matches', 'Rides', 'Bonus Pts', 'Total Points']

### Response:
SELECT COUNT Matches FROM table WHERE Rider = dennis gavros AND Total Points < 167