Implemented ReferenceArrayCodec.EmitCalculateSize