update counts while in the chatting view.