user: Question: How many episode were written by Brett Conrad?
Columns: ['Series #', 'Title', 'Directed by', 'Written by', 'Original air date', 'Production code', 'U.S. viewers (million)']
Types: ['real', 'text', 'text', 'text', 'text', 'text', 'text']
Sample row: [1.0, '"Pilot" "Welcome to the CIA"', 'Tim Matheson', 'Matt Corman & Chris Ord', 'July13,2010', 'CA101', '4.88']
SQL:

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