Request: Class Limit addon for Yanfly's Class Change Core

I'm making a game using Class Change Core, and I want to set a limit for each of the classes except the basic "light infantry" class. This limit would be raised over the course of the game. If the player has the maximum allowed for that class, they should be unable to change more party members to that class.
For someone willing to do it, I'd see an addition to the Window_ClassList.prototype.makeItemList to disable classes that has reached the members limit, and a parameter to specify which classes are affected, and what size they have. What do yall think ?

Original thread: https://forums.rpgmakerweb.com/threads/request-class-limit-addon-for-yanflys-class-change-core.136348/