Can't find the right coding for calculation - URGENT!

@mikemoynihan99 The main goal of solving this problem is to always have to most up to date number of available tickets displayed, and that for every show date. It’s just informative, both for audience as for administrators.