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

### Instruction:
What is the total number of wins for the entry that has fewer than 49 goals against, 39 goals for, 9 draws, and fewer than 31 points?

### Inputs:
table_name: table, columns: ['Position', 'Club', 'Played', 'Points', 'Wins', 'Draws', 'Losses', 'Goals for', 'Goals against', 'Goal Difference']

### Response:
SELECT COUNT Wins FROM table WHERE Goals against < 49 AND Draws = 9 AND Goals for = 39 AND Points < 31