Restrict number of bookings per month per user group

Hi, I was following what @Ashok suggested in topic https://premium.wpmudev.org/forums/topic/limiting-the-number-of-appointments-per-a-month-per-user and it works nice.

I have more complex situation where there are 4 groups of customers with different monthly price plans (first group has max. 8 bookings, second max. 12 bookings, third max. 15 bookings and fourth without limitation - unlimited). With @Ashok solution everyone could be able to book same number of bookings, no matter which pricing plan they have.

So, my question is, is it possible to achieve what I have mentioned by tweaking Appointments+ code or by combining Appointments+ with some of your other plugins?

Thanks in advance!