CREATE TABLE table_28367 ("No. in series" FLOAT, "Title" TEXT, "Directed by" TEXT, "Written by" TEXT, "Original air date" TEXT, "Production code" FLOAT)

How many episodes were directed by james quinn?
SELECT COUNT("Written by") FROM table_28367 WHERE "Directed by" = 'James Quinn'
SELECT COUNT("Written by") FROM "table_28367" WHERE "Directed by" = 'James Quinn'