started to implement nodecounting