user: Question: How many titles had production code 1040?
Columns: ['No. in season', 'No. in series', 'Title', 'Canadian airdate', 'US airdate', 'Production code']
Types: ['real', 'real', 'text', 'text', 'text', 'real']
Sample row: [1.0, 189.0, '"What a Girl Wants" Part One', 'July19,2010', 'July20,2010', 1001.0]
SQL:

assistant: SELECT COUNT("Title") FROM "Table" WHERE "Production code" = 1040.0;