text: Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request.  # noqa: E501
  ### Context:
  CREATE TABLE table_name_11 (long INTEGER, gain VARCHAR, avg_g VARCHAR)
  ### Question:
  How many longs have a gain less than 379, and 0.8 as an avg/g?
  ### Answer:
  SELECT SUM(long) FROM table_name_11 WHERE gain < 379 AND avg_g = 0.8