CREATE TABLE table_26151 ("Copper Age" TEXT, "Chalcolithic  ( 4500 BC - 3300 BC ) " TEXT, "Early Chalcolithic" TEXT, "4500 BC - 4000 BC" TEXT, "Ubaid period in Mesopotamia" TEXT)

When the second intermediate period of egypt is the ubaid period in mesopotamia how many early calcolithics are there?
SELECT COUNT("Early Chalcolithic") FROM table_26151 WHERE "Ubaid period in Mesopotamia" = 'Second Intermediate Period of Egypt'
SELECT COUNT("Early Chalcolithic") FROM "table_26151" WHERE "Ubaid period in Mesopotamia" = 'Second Intermediate Period of Egypt'