CREATE TABLE table_2618061_1 (written_by VARCHAR, directed_by VARCHAR)

How many episodes were directed by james quinn?
SELECT COUNT(written_by) FROM table_2618061_1 WHERE directed_by = "James Quinn"
SELECT COUNT("written_by") FROM "table_2618061_1" WHERE "James Quinn" = "directed_by"