found way to approximate number of nodes in network