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