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 team_franchise (active VARCHAR)
  ### Question:
  How many team franchises are active, with active value 'Y'?
  ### Answer:
  SELECT COUNT(*) FROM team_franchise WHERE active = 'Y'