API Reference > presentation-components > Tree > PresentationTreeDataProvider > getNodesCount getNodesCount Method Returns the total number of nodes getNodesCount(parentNode?: TreeNodeItem): Promise<number> Parameter Type Description parentNode TreeNodeItem The parent node to return children count for. Returns - Promise<number> Defined in presentation/components/src/presentation-components/tree/DataProvider.ts Line 163 Last Updated: 12 June, 2024