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

### Instruction:
How many longs have a gain less than 379, and 0.8 as an avg/g?

### Inputs:
table_name: table, columns: ['Name', 'Gain', 'Loss', 'Long', 'Avg/G']

### Response:
SELECT SUM Long FROM table WHERE Gain < 379 AND Avg/G = 0.8