//#region ../../node_modules/d3-hierarchy/src/hierarchy/count.js
function e(e) {
	var t = 0, n = e.children, r = n && n.length;
	if (!r) t = 1;
	else for (; --r >= 0;) t += n[r].value;
	e.value = t;
}
function t() {
	return this.eachAfter(e);
}
//#endregion
export { t as default };
