patch: node-count fix