Table schema:
CREATE TABLE table_name_42 (year INTEGER, budget VARCHAR)

Question: How many years had budgets of $39 million?
SQL: SELECT SUM(year) FROM table_name_42 WHERE budget = "$39 million"