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

### Instruction:
How many poles had a moto2 class?

### Inputs:
table_name: table, columns: ['Class', 'Season', 'Race', 'Podiums', 'Pole']

### Response:
SELECT Pole FROM table WHERE Class = moto2