CREATE TABLE table_26961951_4 (directed_by VARCHAR, written_by VARCHAR)

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