code: public function getRemaining()
      {
          if (is_null($this->_countRemaining)) {
              $this->_countRemaining = $this->total;
          }
  
          return $this->_countRemaining;
      }
docs: Get remaining.
  
  @return [[@doctodo return_type:getRemaining]] [[@doctodo return_description:getRemaining]]