Wordpress plugin - twitch stream status - can someone PLEASE check the code?

firstly thank you so much for the response! so the code if i make the change with your code should work? it will be ok? because i made the change and now the tag doesn’t appear at all. i don’t know if it’s a wordpress problem or the code part above.
in dev tools chrome it gives me this error:
error
for this part of code:

    jQuery('.sst-twitch').each(function () {
        var nickname = jQuery(this).data('nickname');
        
    <br />

Warning: count(): Parameter must be an array or an object that implements Countable in C:\xampp\htdocs\testsite\wordpress\wp-content\plugins\stream-status-for-twitch\stream-status-for-twitch.php on line 253

//show if online
jQuery(‘.sst-main-wrapper, .sst-main-widget-wrapper’).addClass(‘sst-main-wrapper-active’);
// animations
jQuery(‘.sst-status-text-live’).addClass(‘sst-current-status’);
setTimeout(function() {
jQuery(‘.sst-status-text-live’).addClass(‘sst-current-status-active’);
jQuery(‘.sst-status-wrapper’).addClass(‘sst-status-wrapper-active’);
}, 25);
});