Below is an instruction that describes a task. Write a response that appropriately completes the request.

### Instruction:
When the second intermediate period of egypt is the  ubaid period in mesopotamia how many early calcolithics are there?

### Inputs:
table_name: table, columns: ['Copper Age', 'Chalcolithic (4500 BC - 3300 BC)', 'Early Chalcolithic', '4500 BC - 4000 BC', 'Ubaid period in Mesopotamia']

### Response:
SELECT COUNT Early Chalcolithic FROM table WHERE Ubaid period in Mesopotamia = Second Intermediate Period of Egypt