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