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

### Instruction:
What is the sum of Poles, when Season is before 2005, when Position is "2nd", and when Wins is less than 6?

### Inputs:
table_name: table, columns: ['Season', 'Wins', 'Poles', 'Podiums', 'Position']

### Response:
SELECT SUM Poles FROM table WHERE Season < 2005 AND Position = 2nd AND Wins < 6