Question: 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"