Instruct: When the second intermediate period of egypt is the  ubaid period in mesopotamia how many early calcolithics are there?
Output: SELECT COUNT Early Chalcolithic FROM table WHERE Ubaid period in Mesopotamia = Second Intermediate Period of Egypt