Formula hotspot status

Can anyone offer the formula for hotspot state, and maybe number of devices connect? Can't seem to find it. Tried "tether" and "hotspot" but not that. Thanks.

Hello. I'm looking for that one too. Btw, do you happen to know a formula that can check when I forgot to turn mobile data off? I've tried to implement with alot of logical operators between wifi and data states, but its too much hassle. Also, too bad they didn't put hotspot option yet. They said they will 6 years ago so..