Limit slots to 50 and decrease on each payment and subscription

Hi,
I've recently purchased the form as it looks really good and is easy to integrate.
Just checking the possibilities to have a function like opening up eg. 50 slots for subscription and decrease until the slots are full and having the submit button disabled or showing a message that all slots are full.

All help is welcome

Replies are visible only to logged in members with an active subscription.