46 $this->reader = $reader;
48 $this->entity = $entity;
49 $this->metricSpec = $metricSpec;
50 $this->seqSpec = $seqSpec;
51 $this->range = $range;
60 if ( $this->
total ===
null ) {
61 $this->
total = $this->reader->internalGetCount(
78 return $this->
total() / $this->range->getDuration();