How many episodes were directed by james quinn?
create table table_2618061_1 (written_by varchar, directed_by varchar, PRIMARY KEY (written_by))
select count(written_by) from table_2618061_1 where directed_by = "james quinn"