Calculates the number of edges crossing the MinCut of an undirected Graph