Name the total number of years for a 39-31 record
CREATE TABLE "year_by_year_record" (
  "year" real,
  "record" text,
  "finish" text,
  "manager" text,
  "playoffs" text
);
SELECT COUNT("year") FROM "year_by_year_record" WHERE "record"='39-31';