45 $this->reader = $reader;
47 $this->entity = $entity;
48 $this->metricSpec = $metricSpec;
49 $this->seqSpec = $seqSpec;
50 $this->range = $range;
59 if ( $this->
total ===
null ) {
60 $this->
total = $this->reader->internalGetCount(
77 return $this->
total() / $this->range->getDuration();