added number of nodes to the bottom