number of nodes in a range