public static int getMetadataContentSize(int keySize, int numberOfKeys) {
      return Version_Field_Size_In_Bytes + TOTAL_SIZE_FIELD_SIZE_IN_BYTES + NUM_OF_KEYS_FIELD_SIZE_IN_BYTES
          + numberOfKeys * (keySize + SIZE_OF_BLOB_FIELD_SIZE_IN_BYTES);
    }
Get the total size of the metadata content record.
@param keySize The size of each key in bytes.
@param numberOfKeys The total number of keys.
@return The total size in bytes.
ambry-messageformat/src/main/java/com/github/ambry/messageformat/MessageFormatRecord.java