Returns the number of servers with assigned product(s). Add or remove assignedProducts to the query to report on specific configurations. This is a useful metric when reconciling services in the Gradient MSP billing module.
Endpoints[?type ==
server
] || Endpoints[].assignedProducts[?code == 'coreAgent' && 'interceptX'] | length(@)