human
Considering the provided database schema and associated query, produce SQL code to retrieve the answer to the query. 
###Database Schema: Division, League Apps, League Goals, FA Cup Apps, FA Cup Goals, Total Apps, Total Goals
###Question: The total goals have a FA Cup Apps larger than 1, and a Total Apps of 37, and a League Apps smaller than 30?, what is the total number?
gpt
SELECT COUNT Total Goals FROM table WHERE FA Cup Apps > 1 AND Total Apps = 37 AND League Apps < 30