CREATE TABLE table_2226817_9 (directed_by VARCHAR2, production_code VARCHAR2)

How many episodes have the production code 8.04
SELECT COUNT(directed_by) FROM table_2226817_9 WHERE production_code = "8.04"
SELECT COUNT("directed_by") FROM "table_2226817_9" WHERE "8.04" = "production_code"