need to get total Count to display on KPI Widget.
SELECT TOP 100 n.DisplayName,n.Status,n.StatusLED , n.CustomProperties.Department AS CustomProperties_Department
FROM Orion.Nodes n
WHERE (Status = 2 AND n.CustomProperties.Department LIKE 'ATM Branch%')