public bool AddCount(int nodeId, long count) { if (nodeId < nodes) { this.nodeCount[nodeId] += count; return true; } return false; }