fix(encoding)!: Fix incorrect fields count (#11905)