Qual é o número total de vitórias para a entrada que tem menos de 49 gols contra, 39 golos a favor, 9 empates e menos de 31 pontos?
CREATE TABLE table_name_51 (wins VARCHAR, points VARCHAR, goals_for VARCHAR, goals_against VARCHAR, draws VARCHAR)
SELECT COUNT(wins) FROM table_name_51 WHERE goals_against < 49 AND draws = 9 AND goals_for = 39 AND points < 31