@Override
    protected Integer map(final Traverser.Admin<S> traverser) {
        return traverser.loops(this.loopName);
    }
@author Daniel Kuppitz (http://gremlin.guru)
gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/step/map/LoopsStep.java