IS there any variable which holds the count of the leaf child node in tree structure part of pivot?

IS there any variable which holds the count of the leaf child node in pivot?. Inspite of the levels being 2 or 3 but i want to display the leaf child node count in level 1 , level,level3

The answer you can find in the related discussion https://forum.webix.com/discussion/comment/20381/#Comment_20381