What was the total attendance with a result of W 31-21 before week 9?
CREATE TABLE table_name_13 (
    attendance VARCHAR,
    result VARCHAR,
    week VARCHAR
)
SELECT COUNT(attendance) FROM table_name_13 WHERE result = "w 31-21" AND week < 9
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What was the total attendance with a result of W 31-21 before week 9? ### Input: CREATE TABLE table_name_13 (
    attendance VARCHAR,
    result VARCHAR,
    week VARCHAR
) ### Response: SELECT COUNT(attendance) FROM table_name_13 WHERE result = "w 31-21" AND week < 9