protected void validateCounts(int gV, int gE, int gN, int gR) {
        assertEquals(gV, IteratorUtils.count(graph.vertices()));
        assertEquals(gE, IteratorUtils.count(graph.edges()));
        assertEquals(gN, IteratorUtils.count(this.getBaseGraph().allNodes()));
        assertEquals(gR, IteratorUtils.count(this.getBaseGraph().allRelationships()));
    }
@author Marko A. Rodriguez (http://markorodriguez.com)
neo4j-gremlin/src/test/java/org/apache/tinkerpop/gremlin/neo4j/AbstractNeo4jGremlinTest.java