Instruct: 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?
Output: SELECT COUNT Wins FROM table WHERE Goals against < 49 AND Draws = 9 AND Goals for = 39 AND Points < 31