add setter for encoding counter in acq header