This could be a nodesRemoved boolean here instead of a count.  Doesn't matter much, though.