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

### Instruction:
How many people in the total region when there are more than 6,406 in Fitzroy, 27,017 in Livinstonge, and less than 58,382 in Rochhampton?

### Inputs:
table_name: table, columns: ['Year', 'Total Region', 'Rockhampton', 'Livingstone', 'Fitzroy', 'Mt Morgan']

### Response:
SELECT COUNT Total Region FROM table WHERE Fitzroy > 6,406 AND Livingstone = 27,017 AND Rockhampton < 58,382