public default int size() {
        return this.objects().size();
    }
Get the number of step in the path.

@return the size of the path
gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/Path.java