public static IntegerWrapper arityComputation(Stella_Object descriptionarg) {
    { Stella_Object description = Logic.valueOf(descriptionarg);

      if (description != null) {
        if (Surrogate.subtypeOfP(Stella_Object.safePrimaryType(description), Logic.SGT_LOGIC_DESCRIPTION)) {
          { Description description000 = ((Description)(description));

            return (IntegerWrapper.wrapInteger(description000.arity()));
          }
        }
        else {
          return (null);
        }
      }
      else {
        return (null);
      }
    }
  }