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

### Instruction:
What was the total amount of Value ($M), when the Country was Spain, the Rank was 19, and the Debt as % of value was larger than 159?

### Inputs:
table_name: table, columns: ['Rank', 'Team', 'Country', 'Value ($M)', 'Debt as %of value', '% change on year', 'Revenue ($M)', 'Operating income($m)']

### Response:
SELECT COUNT Value ($M) FROM table WHERE Country = spain AND Rank = 19 AND Debt as %of value > 159