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

### Instruction:
How many goals were achieved when Chievo was the club and the debut year was before 2002?

### Inputs:
table_name: table, columns: ['Rank', 'All-time Rank', 'Name', 'Debut Year', 'Current Club', 'Goals', 'Apps']

### Response:
SELECT COUNT Goals FROM table WHERE Current Club = chievo AND Debut Year < 2002