public int size() {
        return parameters.size();
    }
Returns the size of parameter set.

@return number of parameters (keys)
gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/step/util/Parameters.java