Use new nodesCount and edgesCount fields of networks