CREATE TABLE table_name_40 (attendance VARCHAR, opponent VARCHAR, record VARCHAR)

How many people attended the game against athletics with the record of 9-12?
SELECT COUNT(attendance) FROM table_name_40 WHERE opponent = "athletics" AND record = "9-12"
SELECT COUNT("attendance") FROM "table_name_40" WHERE "9-12" = "record" AND "athletics" = "opponent"