API Reference > presentation-frontend > Core > PresentationManager > getNodesCount getNodesCount Method Overloads getNodesCount(requestOptions) getNodesCount(requestOptions, parentKey) Deprecated getNodesCount(requestOptions) Retrieves nodes count. getNodesCount(requestOptions: ExtendedHierarchyRequestOptions<IModelConnection, NodeKey, RulesetVariable>): Promise<number> Parameter Type Description requestOptions ExtendedHierarchyRequestOptions<IModelConnection, NodeKey, RulesetVariable> Returns - Promise<number> getNodesCount(requestOptions, parentKey) Deprecated Use an overload with ExtendedHierarchyRequestOptions Retrieves nodes count. getNodesCount(requestOptions: HierarchyRequestOptions<IModelConnection, RulesetVariable>, parentKey: undefined | NodeKey): Promise<number> Parameter Type Description requestOptions HierarchyRequestOptions<IModelConnection, RulesetVariable> parentKey undefined | NodeKey Returns - Promise<number> Defined in presentation/frontend/src/presentation-frontend/PresentationManager.ts Line 341 Last Updated: 11 June, 2024