added counter while recording a message