human
Considering the provided database schema and associated query, produce SQL code to retrieve the answer to the query. 
###Database Schema: Team, Stadium, Home Games, Average Attendance, Total Attendance, Capacity Percentage
###Question: How many home games are listed when the average attendance is 79475?
gpt
SELECT COUNT Home Games FROM table WHERE Average Attendance = 79475