question: How many people attended the game against athletics with the record of 9-12?
answer: SELECT COUNT(attendance) FROM table_name_40 WHERE opponent = "athletics" AND record = "9-12"
context: CREATE TABLE table_name_40 (attendance VARCHAR, opponent VARCHAR, record VARCHAR)