user: Question: How many episodes are written by Lew Schneider?
Columns: ['Series #', 'Title', 'Directed by', 'Written by', 'Original air date', 'Viewers (in millions)']
Types: ['real', 'text', 'text', 'text', 'text', 'text']
Sample row: [1.0, '" Pilot "', 'Scott Winant', 'Ray Romano & Mike Royce', 'December7,2009', '5.4']
SQL:

assistant: SELECT COUNT("Series #") FROM "Table" WHERE "Written by" = 'Lew Schneider';