public function isQueryCountCritical($count) { return $this->criticalQueryThreshold !== null && $count > $this->criticalQueryThreshold; }