public long cardinality(final int tailIndex){
  return rangeCount(tailIndex);
}

public long cardinality ( final int tailIndex ) { return rangeCount ( tailIndex ) ; }
return the cardinality of a particular tail , which is the range count if not optional and infinite if optional .
