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

### Instruction:
When the club is flamengo in the 2009 season, and they scored more than 0 goals, what's the sum of the Apps?

### Inputs:
table_name: table, columns: ['National team', 'Club', 'Season', 'Apps', 'Goals']

### Response:
SELECT SUM Apps FROM table WHERE Club = flamengo AND Season = 2009 AND Goals > 0