CREATE TABLE table_name_46 (year VARCHAR, formula VARCHAR)

How many years had a formula of Grand Prix?
SELECT COUNT(year) FROM table_name_46 WHERE formula = "grand prix"
SELECT COUNT("year") FROM "table_name_46" WHERE "formula" = "grand prix"