user: ### NOW ANSWER:
Question: What are the years that andretti autosport is a team?
Columns: ['Year', 'Team', 'Chassis', 'Engine', 'Rank', 'Points']
Types: ['real', 'text', 'text', 'text', 'text', 'real']
Sample row: [2002.0, 'Mo Nunn Racing', 'G-Force', 'Chevrolet', '50th', 2.0]
SQL:

assistant: SELECT COUNT("Year") FROM "Table" WHERE "Team" = 'andretti autosport';