Remove unused node-counter in routines