API Reference > presentation-common > RPC > PresentationRpcInterface > getNodesCount getNodesCount Method Overloads getNodesCount(_token, _options) getNodesCount(_token, _options, _parentKey) Deprecated getNodesCount(_token, _options) getNodesCount(_token: IModelRpcProps, _options: ExtendedHierarchyRpcRequestOptions): PresentationRpcResponse<number> Parameter Type Description _token IModelRpcProps _options ExtendedHierarchyRpcRequestOptions Returns - PresentationRpcResponse<number> getNodesCount(_token, _options, _parentKey) Deprecated Use an overload with ExtendedHierarchyRpcRequestOptions getNodesCount(_token: IModelRpcProps, _options: HierarchyRpcRequestOptions, _parentKey: undefined | NodeKeyJSON): PresentationRpcResponse<number> Parameter Type Description _token IModelRpcProps _options HierarchyRpcRequestOptions _parentKey undefined | NodeKeyJSON Returns - PresentationRpcResponse<number> Defined in presentation/common/src/presentation-common/PresentationRpcInterface.ts Line 158 Last Updated: 12 June, 2024