Table schema:
CREATE TABLE table_name_30 (long VARCHAR, gain VARCHAR, avg_g VARCHAR, loss VARCHAR)

Question: What's the total long for an avg/g over 0.2, fewer than 2 loss, and a gain less than 8?
SQL: SELECT COUNT(long) FROM table_name_30 WHERE avg_g > 0.2 AND loss < 2 AND gain < 8