Count alerts

Returns the count of alerts matching the specified search criteria.