code: public int getNumberOfAttempts() {
          String value = Optional.fromNullable(getParameter(SignalParameters.NUMBER_OF_ATTEMPTS.symbol())).or("1");
          return Integer.parseInt(value);
      }
docs: The number of attempts the user needed to enter a valid digit pattern or to make a recording.
  <p>
  <b>Defaults to 1.</b> Also used as a return parameter to indicate the number of attempts the user made.
  </p>
  
  @return