code: def number_of_sections_per_neurite(neurites, neurite_type=NeuriteType.all):
      '''Get the number of sections per neurite in a collection of neurites'''
      return list(sum(1 for _ in n.iter_sections())
                  for n in iter_neurites(neurites, filt=is_type(neurite_type))f number_of_sections_per_neurite(neurites, neurite_type=NeuriteType.all):
      '''Get the number of sections per neurite in a collection of neurites'''
      return list(sum(1 for _ in n.iter_sections())
                  for n in iter_neurites(neurites, filt=is_type(neurite_type)))
docs: Get the number of sections per neurite in a collection of neurites