How to limit users in a room

Hi guys,
How to limit users in a room?
Example: i have 2 companies so i want to create plan for each. company A only allow 10 users in a room, company B allow 15 users in room.