Schema: CREATE TABLE table_25662434_1 (title VARCHAR, production_code VARCHAR)
Question: How many titles had production code 1040?
SQL: SELECT COUNT(title) FROM table_25662434_1 WHERE production_code = 1040