method get_nodes_count() is added to dht