def METHOD_NAME(tree_word):
  """Count output size for allocation purposes.
  We can count the number of words expanded into, and the max number of parts
  in a word.
  Every word can have a different number of parts, e.g. -{'a'b,c}- expands into
  words of 4 parts, then 3 parts.
  """
  # TODO: Copy the structure of _BraceExpand and _BraceExpandOne.
  for part in tree_word.parts:
    if part.tag == word_part_e.BracedAltPart:
      for word in part.words:
        pass
  num_results = 2
  max_parts = 5
  return num_results, max_parts