public function getProductCountByAttributeSetId() { if ($this->countByAttributeSet === null) { $this->loadProductCounts(); } return $this->countByAttributeSet; }