How many records were there when opponents were 9?
CREATE TABLE table_22815265_1 (record VARCHAR, opponents VARCHAR)
SELECT COUNT(record) FROM table_22815265_1 WHERE opponents = 9
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22815265_1 (record VARCHAR, opponents VARCHAR) Question: How many records were there when opponents were 9? [/INST] SELECT COUNT(record) FROM table_22815265_1 WHERE opponents = 9 </s>