count all nodes