public static double jaccardDistanceExact(@NotNull Bag bag1, @NotNull Bag bag2){
    return 1 - jaccardSimilarity(bag1, bag2, 0, true);
  }
public static double jaccardDistanceExact(@NotNull Bag bag1, @NotNull Bag bag2)