I have the following algorithm: Given a single sink, directed acyclic graph $D = (V, E)$,
Associate each node $v \in V$ with a number $r(v) = n_v$
Then, for each neighbor $v \in N^{+}(s)$ of each source node $s$, do $r(v) = r(v) + \displaystyle\sum_\limits{v \in N^{+}(s)}\frac{r(s)}{|N^{+}(s)|}$
Remove each current source node, Repeat step 2 for the new source nodes. Terminate when the sink node is reached.
I am trying to prove that for the sink node $z$, $r(z) = \displaystyle\sum_{v \in V}n_{v}$
But I don't know where to start the proof. Any hint or advice?