@Contract(pure = true)
  public static int countChars(@NotNull CharSequence text, char c) {
    return countChars(text, c, 0, false);
  }
@Contract(pure = true)
  public static int countChars(@NotNull CharSequence text, char c)