Show Capacity/Places available beside Calendar as Bookings are made

Is it possible to show the number of places still available for time slot. I noticed in one instance after one booking it changed the colour and made the time slot not available even though there was a capacity of 20.