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

How many episodes have the production code ip04004?
SELECT COUNT("Title") FROM table_31050 WHERE "Production code" = 'IP04004'
SELECT COUNT("Title") FROM "table_31050" WHERE "Production code" = 'IP04004'