user: Question: Name the total number of years for a 39-31 record
Columns: ['Year', 'Record', 'Finish', 'Manager', 'Playoffs']
Types: ['real', 'text', 'text', 'text', 'text']
Sample row: [1974.0, '31-39', '7th', 'Hoyt Wilhelm', 'none']
SQL:

assistant: SELECT COUNT("Year") FROM "Table" WHERE "Record" = '39-31';