get_usage_stats('month'); $totals = $usage_stats['totals'] ?? array( 'message_count' => 0, 'tokens_used' => 0, 'conversation_count' => 0, ); // Check if upgrade plugin is active $upgrade_active = function_exists('is_plugin_active') && is_plugin_active('a1ai-chatbot-upgrade-new/a1ai-chatbot-upgrade.php'); ?>