user: ### NOW ANSWER:
Question: What score did Goodman give to all songs with Safe results, which received a 7 from Horwood and have a total score of 31?
Columns: ['Week', 'Dance/song', 'Horwood', 'Goodman', 'Dixon', 'Tonioli', 'Total', 'Result']
Types: ['real', 'text', 'text', 'text', 'text', 'text', 'text', 'text']
Sample row: [1.0, "Cha-Cha-Cha / Ain't No Mountain High Enough", '7', '8', '8', '8', '31', 'N/A']
SQL:

assistant: SELECT "Goodman" FROM "Table" WHERE "Total" = '31' AND "Horwood" = '7' AND "Result" = 'Safe';