text: Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request.  # noqa: E501
  ### 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"