Resolved bug.

For every node, the number of edges counted was 1 below the actual value.