public static double getEdgeCount(Network forest) {
   return (double) forest.getEdgeCount();
 }