access the count for the chat window