Please solve the programming task below using a self-contained code snippet in a markdown code block.

A tree rooted at node 0 is given as follows:

The number of nodes is nodes;
The value of the ith node is value[i];
The parent of the ith node is parent[i].

Remove every subtree whose sum of values of nodes is zero.
Return the number of the remaining nodes in the tree.
 
Please complete the following python code precisely:
```python
class Solution:
    def deleteTreeNodes(self, nodes: int, parent: List[int], value: List[int]) -> int:
```