@Override
  public long count() {
    if (hasContainers.isEmpty()) {
      // NO CONDITIONS: USE THE FAST COUNT
      long counter = ((OrientVertex) vertex).countEdges(direction, labels);
      if (limit != Integer.MAX_VALUE && counter > limit)
        return limit;
      return counter;
    }

    // ITERATE EDGES TO MATCH CONDITIONS
    return super.count();
  }
@Override
  public long count() {
    if (hasContainers.isEmpty()) {
      
      long counter = ((OrientVertex) vertex).countEdges(direction, labels);
      if (limit != Integer.MAX_VALUE && counter > limit)
        return limit;
      return counter;
    }

    
    return super.count();
  }
@ Override public long count ( ) { if ( hasContainers . isEmpty ( ) ) { // NO CONDITIONS: USE THE FAST COUNT long counter = ( ( OrientVertex ) vertex ) . countEdges ( direction , labels ) ; if ( limit != Integer . MAX_VALUE && counter > limit ) return limit ; return counter ; } // ITERATE EDGES TO MATCH CONDITIONS return super . count ( ) ; }
(Blueprints Extension) Counts the total items found. This method is more efficient than executing the query and browse the
returning Iterable.

@return
( Blueprints Extension ) Counts the total items found . This method is more efficient than executing the query and browse the returning Iterable .