src/vs/workbench/services/search/common/textSearchManager.ts/TextSearchManager/resultSize
class TextSearchManager:	private resultSize(result: TextSearchResult): number {
		if (extensionResultIsMatch(result)) {
			return Array.isArray(result.ranges) ?
				result.ranges.length :
				1;
		}
		else {
			// #104400 context lines shoudn't count towards result count
			return 0;
		}
	}