A tree rooted at node 0 is given as follows:<ul>
<li>The number of nodes is <code>nodes</code>;</li>
<li>The value of the <code>i<sup>th</sup></code> node is <code>value[i]</code>;</li>
<li>The parent of the <code>i<sup>th</sup></code> node is <code>parent[i]</code>.</li>
</ul><p>Remove every subtree whose sum of values of nodes is zero.</p><p>Return <em>the number of the remaining nodes in the tree</em>.</p>