Returns the number of active endpoints seen in the last 30 days. This is a useful metric when reconciling services in the Gradient MSP billing module.
Endpoints[?Deactivated ==
false
&& DaysSinceLastSeen <=
30
] | length(@)