@Test
    @LoadGraphWith(MODERN)
    public void g_V_projectXa_bX_byXinE_countX_byXageX() {
        final Traversal<Vertex, Map<String, Number>> traversal = get_g_V_projectXa_bX_byXinE_countX_byXageX();
        printTraversalForm(traversal);

        final List<Map<String, Number>> a = new ArrayList<>();
        a.add(new HashMap<String,Number>() {{
            put("a", 3L);
        }});
        a.add(new HashMap<String,Number>() {{
            put("a", 1L);
        }});
        a.add(new HashMap<String,Number>() {{
            put("a", 0L);
            put("b", 29);
        }});
        a.add(new HashMap<String,Number>() {{
            put("a", 1L);
            put("b", 27);
        }});
        a.add(new HashMap<String,Number>() {{
            put("a", 1L);
            put("b", 32);
        }});
        a.add(new HashMap<String,Number>() {{
            put("a", 0L);
            put("b", 35);
        }});

        checkResults(a, traversal);
    }
@author Marko A. Rodriguez (http://markorodriguez.com)
gremlin-test/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/step/map/ProjectTest.java