How to get a Driver Count?

Posts: 38
I am trying to add a Driver Count to a widget. How do I get the total number of drivers?

Thanks,
Harold
Posts: 287
By script and you have to show
Count in IEntity of session_objet from Dataset:sessionstate

Look on Data Explorer of Theme Editor
Edited (1 time)
Posts: 785
I will add new bindings for this today.
Posts: 38
Posts: 81
Is it possible to get a binding like this but for the amount of drivers in each class?
Posts: 785
How would you like this binding to behave? Do you want a separate binding for "class 1, 2, 3, 4, 5..." up until 10 or something?
- "carcount_class1"
- "carcount_class2"
...
- "carcount_class10"
Posts: 81
That might be the easiest way to do it, unless there's perhaps a way to get it to tie into whatever class a widget is assigned to under Data Class Filter.
Posts: 81
Actually it would probably be better to have a separate binding for each class now that I think about it. I know as of now there's a limit of 8 classes in a non-AI session if that helps.