private static int specialParametersCount(@NotNull PyCallable callable, @NotNull List<PyCallableParameter> parameters) {
    int n = 0;
    if (hasPositionalContainer(parameters)) {
      n++;
    }
    if (hasKeywordContainer(parameters)) {
      n++;
    }
    if (isFirstParameterSpecial(callable, parameters)) {
      n++;
    }
    return n;
  }
private static int specialParametersCount(@NotNull PyCallable callable, @NotNull List<PyCallableParameter> parameters)