API Reference > presentation-backend > Core > PresentationManager > getNodesCount getNodesCount Method Overloads getNodesCount(requestOptions) getNodesCount(requestContext, requestOptions, parentKey?) Deprecated getNodesCount(requestOptions) Retrieves nodes count getNodesCount(requestOptions: WithClientRequestContext<ExtendedHierarchyRequestOptions<IModelDb, NodeKey, RulesetVariable>>): Promise<number> Parameter Type Description requestOptions WithClientRequestContext<ExtendedHierarchyRequestOptions<IModelDb, NodeKey, RulesetVariable>> Returns - Promise<number> getNodesCount(requestContext, requestOptions, parentKey?) Deprecated Use an overload with ExtendedHierarchyRequestOptions Retrieves nodes count getNodesCount(requestContext: ClientRequestContext, requestOptions: HierarchyRequestOptions<IModelDb, RulesetVariable>, parentKey?: NodeKey): Promise<number> Parameter Type Description requestContext ClientRequestContext requestOptions HierarchyRequestOptions<IModelDb, RulesetVariable> parentKey NodeKey Returns - Promise<number> Defined in presentation/backend/src/presentation-backend/PresentationManager.ts Line 553 Last Updated: 11 June, 2024