code: public boolean setOverrideRepeatCount(String pathName, String methodName, Integer ordinal, Integer repeatCount) {
          try {
              String methodId = getOverrideIdForMethodName(methodName).toString();
              BasicNameValuePair[] params = {
                  new BasicNameValuePair("profileIdentifier", this._profileName),
                  new BasicNameValuePair("ordinal", ordinal.toString()),
                  new BasicNameValuePair("repeatNumber", repeatCount.toString())
              };
  
              JSONObject response = new JSONObject(doPost(BASE_PATH + uriEncode(pathName) + "/" + methodId, params));
              return true;
          } catch (Exception e) {
              e.printStackTrace();
          }
          return false;
      }
docs: Set the repeat count of an override at ordinal index
  
  @param pathName Path name
  @param methodName Fully qualified method name
  @param ordinal 1-based index of the override within the overrides of type methodName
  @param repeatCount new repeat count to set
  @return true if success, false otherwise