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 college (state VARCHAR, enr INTEGER)
  ### Question:
  What is the number of states that has some colleges whose enrollment is smaller than the average enrollment?
  ### Answer:
  SELECT COUNT(DISTINCT state) FROM college WHERE enr < (SELECT AVG(enr) FROM college)