Stats-badge content (element / child count + tooltip) for a tree node.
Shared by the initial render and the incremental badge patcher so text
and tooltip always agree. Per-type visible counts (after nD slicing)
are appended symmetrically for all four geometry types when known and
different from the dataset count. Returns null for nodes with no
stats badge (leaves without counts; specialized groups, whose kind
badge already carries the child count).
Stats-badge content (element / child count + tooltip) for a tree node. Shared by the initial render and the incremental badge patcher so text and tooltip always agree. Per-type visible counts (after nD slicing) are appended symmetrically for all four geometry types when known and different from the dataset count. Returns
nullfor nodes with no stats badge (leaves without counts; specialized groups, whose kind badge already carries the child count).