Returns the number of active hosts. This is a useful metric when reconciling services in the Gradient MSP billing module.
Hosts[?Alive ==
true
].[Hostname,
|
, Vendor,
|
, Ip] | length(@)