function i(u) {
  var e = 0, n = u.children, t = n && n.length;
  if (!t) e = 1;
  else for (; --t >= 0; ) e += n[t].value;
  u.value = e;
}
function l() {
  return this.eachAfter(i);
}
export {
  l as default
};
