code: @Deprecated
      public static int count(String string, final com.gs.collections.impl.block.predicate.primitive.CharPredicate predicate)
      {
          return StringIterate.countChar(string, new CharPredicate()
          {
              public boolean accept(char value)
              {
                  return predicate.accept(value);
              }
          });
      }
docs: Count the number of elements that return true for the specified {@code predicate}.
  
  @deprecated since 3.0.