message: update message counter