2.35, implementing count-leaves as an accumulate
2.36, accumulate-n