src/vs/workbench/contrib/terminal/browser/terminalFindWidget.ts/TerminalFindWidget/_getResultCount
class TerminalFindWidget:	protected async _getResultCount(): Promise<{ resultIndex: number; resultCount: number } | undefined> {
		const instance = this._terminalService.activeInstance;
		if (instance) {
			return instance.xterm?.findResult;
		}
		return undefined;
	}