Hey Brian,
Thanks for your patience. We will look at the snippet if it can be further improved.
However, our hands are full at the moment and customization requests like this have a lower priority.
You could try the following template tag instead:
tribe_events_count_available_tickets( $event_id )
that will make it easier to count available tickets
And there’s also tribe_events_has_soldout( $event_id )
On this page you can find further template tags:
https://theeventscalendar.com/functions/
Cheers,
Andras