CREATE TABLE table_name_31 (year VARCHAR, engine VARCHAR)

Which year has has a Engine of maserati straight-6?
SELECT COUNT(year) FROM table_name_31 WHERE engine = "maserati straight-6"
SELECT COUNT("year") FROM "table_name_31" WHERE "engine" = "maserati straight-6"