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