def total_length(nrn_pop, neurite_type=NeuriteType.all):
nrns = _neuronfunc.neuron_population(nrn_pop)<EOL>return list(sum(section_lengths(n, neurite_type=neurite_type)) for n in nrns)<EOL>
Get the total length of all sections in the group of neurons or neurites