src/vs/workbench/contrib/comments/browser/commentsView.ts/CommentsPanel/getFilterStats
class CommentsPanel:	public getFilterStats(): { total: number; filtered: number } {
		if (!this.cachedFilterStats) {
			this.cachedFilterStats = {
				total: this.totalComments,
				filtered: this.tree?.getVisibleItemCount() ?? 0
			};
		}

		return this.cachedFilterStats;
	}