public function getTotalNum()
 {
     if ($this->helper->isActiveEngine()) {
         return (int) $this->getData('total_num');
     } else {
         return parent::getTotalNum();
     }
 }