tree descendant count implemented