increment message counter, thanks to beldar