docs: public static int getSigOpCount(byte[] program) throws ScriptException {
          Script script = new Script();
          try {
              script.parse(program);
          } catch (ScriptException e) {
              // Ignore errors and count up to the parse-able length
          }
          return getSigOpCount(script.chunks, false);
      }