IF you do all of this, as I did, and you just can't see the number try this. It worked for me.
I'm running MikroTik RouterOS ver. 6.9.
I struggled with
NaN (Not A Number) when trying the following Variables:
I kept getting nothing or NaN or not defined or showed nothing out at all.
For days this was KILLING ME........... then I found out this. So I have to share. It needs posted all over. So many of us that have or are struggled with this can be over. Works great once you do what's shown below, for the above variables shown to work.
Using your WAN IP address:
Click on your router name
Click on down arrow of Radius incomming
Uncheck the CoA support: X Use CoA
It's a BOX that needs unchecked
Reboot your router. The change of CoA will not take place or work unless you reboot.
It's my understanding that, with CoA checked, the User Manager sends out, nothing or zeros, for the above variables until you uncheck CoA. and reboot the router.
Good Luck so glad I'm passed this one, on to the next. What a great product........