Question: What was the total attendance with a result of W 31-21 before week 9?
SQL: SELECT COUNT Attendance FROM table WHERE Result = w 31-21 AND Week < 9