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

### Instruction:
What is the total of scoring averages with an earnings larger than $117,682 and a best finish of T24?

### Inputs:
table_name: table, columns: ['Year', 'Tournaments played', 'Cuts made*', 'Wins', 'Top 10s', 'Best finish', 'Earnings ($)', 'Money list rank', 'Scoring average', 'Scoring rank']

### Response:
SELECT COUNT Scoring average FROM table WHERE Earnings ($) > 117,682 AND Best finish = t24