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_84 (loss VARCHAR, coach VARCHAR, pts VARCHAR)
  ### Question:
  What is the number of losses that coach John Kowalski has with a PTS smaller than 9?
  ### Answer:
  SELECT COUNT(loss) FROM table_name_84 WHERE coach = "john kowalski" AND pts < 9