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

### Instruction:
How many appearances were made by people that had 5 goals and less than 7 rank?

### Inputs:
table_name: table, columns: ['Rank', 'Name', 'Team', 'Goals', 'Appearances']

### Response:
SELECT COUNT Appearances FROM table WHERE Goals = 5 AND Rank < 7