While we have not found a greta way of doing this, we have found that using the Web Console it is easier than the thick console as the web console allows you to add a "count"
we then export the results to a spreadsheet and then clean it up there.
Attached is a screenshot of how to build your query. Note, if you are logged into your system and you use different credentials to log into LANDesk you must launch IE using the Run as different user command and use the credentials you use for LANDesk.
You can use the web console by going to https://your_core_name/remote
The first time will be slow to launch.