How many episodes were written by Alison McDonald?
create table table_26961951_4 (directed_by varchar, written_by varchar, PRIMARY KEY (directed_by))
select count(directed_by) from table_26961951_4 where written_by = "alison mcdonald"