readded new-msg counting