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

### Instruction:
How many rides did it take Ray Day to get 274 points in total with less than 3 bonus points?

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

### Response:
SELECT COUNT Rides FROM table WHERE Total Points < 274 AND Rider = ray day AND Bonus Pts > 3