user: ### NOW ANSWER:
Question: How many were written by Peter Winther?
Columns: ['Series #', 'Season #', 'Title', 'Directed by', 'Written by', 'Original air date', 'U.S. viewers (in millions)']
Types: ['real', 'real', 'text', 'text', 'text', 'text', 'text']
Sample row: [14.0, 1.0, '"The Beantown Bailout Job"', 'Dean Devlin', 'John Rogers', 'July15,2009', '3.89']
SQL:

assistant: SELECT COUNT("Written by") FROM "Table" WHERE "Directed by" = 'Peter Winther';