public function commit() {
        if(empty($this->NodeCounts)) {
            $this->Logger->debug(__FUNCTION__ .'-> No nodes to change counts on.');
            return;
        }

        foreach($this->NodeCounts as $nodeRefUrl => $count) {
            $nodeRef = $this->NodeRefService->parseFromString($nodeRefUrl);

            // incrementMeta can handle negative values, so no need to call decrementMeta here
            if($count != 0) {
                $this->Logger->debug(__FUNCTION__ ."-> Updating ".$this->getMetaID()." by {$count} for: $nodeRefUrl");
                $this->NodeService->incrementMeta($nodeRef, $this->getMetaID(), $count);
            }
            else
                $this->Logger->debug(__FUNCTION__ ."-> No update of ".$this->getMetaID()." for: $nodeRefUrl");
        }

        $this->NodeCounts = array();
    }