Table schema:
CREATE TABLE table_26961951_4 (directed_by VARCHAR, written_by VARCHAR)

Question: How many episodes were written by Alison McDonald?
SQL: SELECT COUNT(directed_by) FROM table_26961951_4 WHERE written_by = "Alison McDonald"