How to display available spaces in current time slot

I have a 10 minutes time slot (capacity is set to 4 - 4 users can reserve visit in one slot). How can i display left space for each time slot?