How to Restrict active user count in hotspot?

Is there a way we can restrict the Active user sessions in Hotspot?

Eg.

  • If we have 100 connected hosts to mikrotik
  • If we set active users to 10 , then only 10 active users are allowed to login out of 100 connected hosts at any given time.

Thanks in anticipation