Table schema:
CREATE TABLE table_name_18 (year VARCHAR, record VARCHAR)

Question: Name the total number of years for a 39-31 record
SQL: SELECT COUNT(year) FROM table_name_18 WHERE record = "39-31"