java.lang.Object
org.apache.tinkerpop.gremlin.process.traversal.strategy.AbstractTraversalStrategy<TraversalStrategy.ProviderOptimizationStrategy>
org.apache.tinkerpop.gremlin.tinkergraph.process.traversal.strategy.optimization.TinkerGraphCountStrategy
All Implemented Interfaces:
Serializable, Comparable<Class<? extends TraversalStrategy>>, TraversalStrategy<TraversalStrategy.ProviderOptimizationStrategy>, TraversalStrategy.ProviderOptimizationStrategy

This strategy will do a graph size call if the traversal is a count of the vertices and edges of the graph or a one-to-one map chain thereof.
Author:
Marko A. Rodriguez (http://markorodriguez.com)
See Also:
Example:
 g.V().count()               // is replaced by TinkerCountGlobalStep
 g.V().map(out()).count()    // is replaced by TinkerCountGlobalStep
 g.E().label().count()       // is replaced by TinkerCountGlobalStep