</button>
                <button onclick="getClientCount()">Count</button>
            </div>
        </div>
    </div>

    <script>
        let ws;
        const messages = document.getElementById('messages');
        const input = document.getElementById('messageInput');
        const sendButton = document.getElementById('sendButton');
        const status = document.getElementById('status');

        function addMessage(text, type = 'system') {
            const div = document.createElement('div');
   