how to set maximum clients per wifi interface

For example, I have two routers in one room, and alot of wifi client devices. I want only 10 devices per router. If it is already has 10 connected devices, then it have to refuse other connections.

How can I do it?

/interface wireless set wlan1 max-station-count=10