user: Question: When the Second Intermediate Period of Egypt is the  ubaid period in mesopotamia how many early calcolithics are there?
Columns: ['Copper Age', 'Chalcolithic (4500 BC - 3300 BC)', 'Early Chalcolithic', '4500 BC - 4000 BC', 'Ubaid period in Mesopotamia']
Types: ['text', 'text', 'text', 'text', 'text']
Sample row: ['Bronze Age (3300 BC - 1200 BC)', 'Early Bronze Age (3300 BC - 2000 BC)', 'Early Bronze Age I', '3300 BC - 3000 BC', 'Protodynastic to Early Dynastic Period of Egypt']
SQL:

assistant: SELECT COUNT("Early Chalcolithic") FROM "Table" WHERE "Ubaid period in Mesopotamia" = 'Second Intermediate Period of Egypt';