docs: public static int getNumFrames(byte[] fingerprint) {
  
          if (fingerprint.length < 8) {
              return 0;
          }
  
          // get the last x-coordinate (length-8&length-7)bytes from fingerprint
          return ((fingerprint[fingerprint.length - 8] & 0xff) << 8 | (fingerprint[fingerprint.length - 7] & 0xff)) + 1;
      }