human
Considering the provided database schema and associated query, produce SQL code to retrieve the answer to the query. 
###Database Schema: Name, Gain, Loss, Long, Avg/G
###Question: How much Gain has a Long of 29, and an Avg/G smaller than 33.7?
gpt
SELECT COUNT Gain FROM table WHERE Long = 29 AND Avg/G < 33.7