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

### Instruction:
How many golds for teams ranking below 7 with 3 bronze and less than 5 total medals?

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

### Response:
SELECT COUNT Gold FROM table WHERE Bronze = 3 AND Rank > 7 AND Total < 5