user: Question: When Hittite Middle Kingdom , New Kingdom of Egypt is the ubaid period in mesopotamia how many early chalcolithics 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" = 'Hittite Middle Kingdom , New Kingdom of Egypt';