code: @Deprecated
      public static int count(String string, CodePointPredicate predicate)
      {
          return StringIterate.countCodePoint(string, predicate);
      }
docs: Count the number of elements that return true for the specified {@code predicate}.
  
  @deprecated since 7.0. Use {@link #countCodePoint(String, CodePointPredicate)} instead.