src/vs/editor/contrib/documentSymbols/outlineModel.ts/TreeElement/size
class TreeElement:	static size(element: TreeElement): number {
		let res = 1;
		for (const [, child] of element.children) {
			res += TreeElement.size(child);
		}
		return res;
	}