user: Question: How many years did John Player Lotus used Cosworth V8?
Columns: ['Year', 'Entrant', 'Chassis', 'Engine', 'Points']
Types: ['real', 'text', 'text', 'text', 'real']
Sample row: [1982.0, 'John Player Lotus', 'Lotus 91', 'Cosworth V8', 0.0]
SQL:

assistant: SELECT COUNT("Year") FROM "Table" WHERE "Engine" = 'Cosworth V8' AND "Entrant" = 'John Player Lotus';