user: ### NOW ANSWER:
Question: How many episodes were written by Alison McDonald?
Columns: ['No. in series', 'No. in season', 'Title', 'Directed by', 'Written by', 'Original air date', 'U.S. viewers (million)']
Types: ['real', 'real', 'text', 'text', 'text', 'text', 'text']
Sample row: [25.0, 1.0, '"Game On"', 'Steve Buscemi', 'Liz Brixius & Linda Wallem', 'March28,2011', '0.61']
SQL:

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