Total count of devices with OS type "Workstation".
Devices[?Settings.OSType=='Workstation'].Settings | length(@)