final int countTestsWithExternalIdfinal(Xpp3Dom results) {
        final AtomicInteger externalIds = new AtomicInteger();
        new ForAllTestCases(results) {
            @Override
            void apply(Xpp3Dom each) {
                if (each.getAttribute("external_id") != null) {
                    externalIds.incrementAndGet();
                }
            }
        }.run();
        return externalIds.intValue();
    }