I am afraid that this approach has not been relevant for quite some time. You can calculate the children count in the dataBound event, as shown in this Dojo snippet.
Regards,
Alex Gyoshev
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!