The chat window shows the number of open dialogs, not the total number of users on the site.
If users have logged in to your site from different accounts, this number will be different. The total number of contacts in the chat is the same for everyone.