I'd like to create a basic script to count the active users, so I can reset the speedlimit per user, in order to maximize bandwith when only a few users are logged in. The script itself shouldn't be too hard, but I simply can't figure out how to count the total users logged in. Could someone push me in the right direction? I assume it has some command in the "/ip hotspot active"-dir?
I don't need a complete script, but just this command

Thank you in advance!
noes