private function getMaximum($key) { return isset($this->counts[$key]) ? max($this->counts[$key]) : 0; }