/** * {@inheritdoc} */ public function getProductCount($category) { $pluginInfo = $this->pluginList->getNext($this->subjectType, 'getProductCount'); if (!$pluginInfo) { return parent::getProductCount($category); } else { return $this->___callPlugins('getProductCount', func_get_args(), $pluginInfo); } }