Bugfix: node counting.