user: ### NOW ANSWER:
Question: What is the number of years that the event was foil team and took place in los angeles?
Columns: ['Year', 'Competition', 'Venue', 'Position', 'Event']
Types: ['real', 'text', 'text', 'text', 'text']
Sample row: [1979.0, 'World Championships', 'Melbourne', '2nd', 'Foil team']
SQL:

assistant: SELECT COUNT("Year") FROM "Table" WHERE "Venue" = 'los angeles' AND "Event" = 'foil team';