public static final long count(final Iterable iterable) {
        return IteratorUtils.count(iterable.iterator());
    }
@author Marko A. Rodriguez (http://markorodriguez.com)
gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/util/iterator/IteratorUtils.java