public int getNumberOfConstants() {
    return constants.length;
  }
Gets the number of constants associated with instruction.

@return the number of constants.
android/android_framework/dex-maker/src/main/java/com/android/dx/dex/code/MultiCstInsn.java