I am having the same issue. I have 3 counters on one of my webpages. They work fine when editing with Elementor. They worked fine when the site was first built. However, since installation of WP-Rocket and WP-Optimize, the counter no longer works. I have all my js script concatenated and minified.
You mentioned an update to Elementor, and I have just updated to the latest version today, but the problem persists. I am using Elementor, Elementor Pro, Elementor Add-Ons, and Elementor Headers and Footers.
Do you have any workaround solutions?