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/tree/DataProvider.ts Line 102 Last Updated: 13 June, 2024