user: ### NOW ANSWER:
Question: How many years had budgets of $39 million?
Columns: ['Title', 'Year', 'Director', 'Budget', 'Gross (worldwide)']
Types: ['text', 'real', 'text', 'text', 'text']
Sample row: ['The Boondock Saints', 1999.0, 'Troy Duffy', '$6 million', '$30,471']
SQL:

assistant: SELECT SUM("Year") FROM "Table" WHERE "Budget" = '$39 million';