Return a count of 1 for reconciling Managed Network services. As long as there is a managed switch, router or firewall, the result is 1. This is so you can set the list price of the product within your PSA and keep track of these Managed Network services in Synthesize Billing.
Devices[?(attributes.deviceType == 'switch'||attributes.deviceType == 'l3Switch'||attributes.deviceType == 'router'||attributes.deviceType == 'firewall')&&attributes.onlineStatus=='online'] | to_number(
1
)