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

### Instruction:
How many Gold medals were won by the Nation that had more than 12 Bronze medals and less than 124 Total medals?

### Inputs:
table_name: table, columns: ['Rank', 'Nation', 'Gold', 'Silver', 'Bronze', 'Total']

### Response:
SELECT COUNT Gold FROM table WHERE Bronze > 12 AND Total < 124