tion updateStats() {
            document.getElementById('editorCount').textContent = editorInstances.length;
            document.getElementById('totalCreated').textContent = totalCreated;
            
            const totalChars = editorInstances.reduce((sum, editor) => {
                return sum + editor.instance.getValue().length;
            }, 0);
            document.getElementById('totalChars').textContent = totalChars;
        }
        
        // Create initial editor on load
        window.ad