SCHEMA:
CREATE TABLE table_2618061_1 (written_by VARCHAR, directed_by VARCHAR)
USER:
How many episodes were directed by james quinn?

QUERY:
SELECT COUNT(written_by) FROM table_2618061_1 WHERE directed_by = "James Quinn"