docs: public static <T> boolean xMatch(final Stream<T> stream, final int num, final Predicate<? super T> c) {
  
          return stream.filter(t -> c.test(t))
                       .collect(java.util.stream.Collectors.counting()) == num;
      }