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_41 (loss VARCHAR, long VARCHAR, name VARCHAR, gain VARCHAR, avg_g VARCHAR)
  ### Question:
  What is the total number of losses Jackson, T., who had more than 27 gain, an avg/g smaller than 55.9, and a long less than 34, had?
  ### Answer:
  SELECT COUNT(loss) FROM table_name_41 WHERE gain > 27 AND avg_g < 55.9 AND name = "jackson, t." AND long < 34