node counter isn't working