code: def n_neurites(neurites, neurite_type=NeuriteType.all):
      '''Number of neurites in a collection of neurites'''
      return sum(1 for _ in iter_neurites(neurites, filt=is_type(neurite_type))f n_neurites(neurites, neurite_type=NeuriteType.all):
      '''Number of neurites in a collection of neurites'''
      return sum(1 for _ in iter_neurites(neurites, filt=is_type(neurite_type)))
docs: Number of neurites in a collection of neurites