code: public function getCountAttribute()
      {
          if (empty($this->shopCalculations)) $this->runCalculations();
          return round($this->shopCalculations->itemCount, 2);
      }
docs: Returns total amount of items in cart.
  
  @return int