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

### Instruction:
Tell me the total number for costa rica and rank more than 8

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

### Response:
SELECT COUNT Total FROM table WHERE Nation = costa rica AND Rank > 8