Context: CREATE TABLE table_name_3 (year INTEGER, engine VARCHAR, entrant VARCHAR)
Question: How many years did John Player Lotus used Cosworth v8?
Answer: SELECT SUM(year) FROM table_name_3 WHERE engine = "cosworth v8" AND entrant = "john player lotus"