API Reference > presentation-backend > Core > PresentationManager > getNodesCount getNodesCount Method Retrieves nodes count getNodesCount(requestContext: ClientRequestContext, requestOptions: HierarchyRequestOptions<IModelDb>, parentKey?: NodeKey): Promise<number> Parameter Type Description requestContext ClientRequestContext Client request context requestOptions HierarchyRequestOptions<IModelDb> options for the request parentKey NodeKey Key of the parent node if requesting for child nodes. Returns - Promise<number> A promise object that returns the number of nodes. Defined in presentation/backend/src/PresentationManager.ts Line 310 Last Updated: 13 June, 2024