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

### Instruction:
What is the total number of Poles, when Position is 6th, and when Points is less than 164?

### Inputs:
table_name: table, columns: ['Season', 'Series', 'Races', 'Wins', 'Poles', 'F/Laps', 'Podiums', 'Points', 'Position']

### Response:
SELECT COUNT Poles FROM table WHERE Position = 6th AND Points < 164