added metric number of nodes