Query for Network Management Engineer to count failures over time