API Reference > presentation-backend > Core > PresentationManager > getNodesAndCount getNodesAndCount Method Deprecated Use PresentationManager.getNodes and PresentationManager.getNodesCount separately Retrieves nodes and node count getNodesAndCount(requestContext: ClientRequestContext, requestOptions: Paged<HierarchyRequestOptions<IModelDb, RulesetVariable>>, parentKey?: NodeKey): Promise<{ count: number, nodes: Node[] }> Parameter Type Description requestContext ClientRequestContext Client request context requestOptions Paged<HierarchyRequestOptions<IModelDb, RulesetVariable>> Options for the request parentKey NodeKey Key of the parentNode Returns - Promise<{ count: number, nodes: Node[] }> A promise object that returns either a node response containing nodes and node count on success or an error string on error Defined in presentation/backend/src/presentation-backend/PresentationManager.ts Line 513 Last Updated: 11 June, 2024