count new messages
Merge remote-tracking branch 'master/master'