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

### Instruction:
What is the total number of losses for teams with less than 5 ties and more than 330 goals for?

### Inputs:
table_name: table, columns: ['Season', 'League', 'Games', 'Lost', 'Tied', 'Points', 'Winning %', 'Goals for', 'Goals against', 'Standing']

### Response:
SELECT COUNT Lost FROM table WHERE Tied < 5 AND Goals for > 330