code: function $num(byte) {
      num = (num << 8) | byte;
      if (++offset < 4) return $num;
      offset = 0;
      emit({version: version, num: num});
      return $header;
    }
docs: The number of objects in this packfile is also stored as an unsigned 32 bit int.