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

### Instruction:
How many wins for bikes with under 54 points, team yamaha, a 250cc bike, and before 1977?

### Inputs:
table_name: table, columns: ['Year', 'Class', 'Team', 'Points', 'Wins']

### Response:
SELECT COUNT Wins FROM table WHERE Points < 54 AND Team = yamaha AND Class = 250cc AND Year < 1977