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