user: ### NOW ANSWER:
Question: What is the total number of titles written by Casey Johnson?
Columns: ['Series #', 'Season #', 'Title', 'Directed by', 'Written by', 'Original air date', 'Total viewers (in millions)']
Types: ['real', 'real', 'text', 'text', 'text', 'text', 'text']
Sample row: [45.0, 1.0, '"The Day After"', 'Michael Lange', 'Patrick Sean Smith', 'August31,2009', '1.211']
SQL:

assistant: SELECT COUNT("Title") FROM "Table" WHERE "Written by" = 'Casey Johnson';