code: public static function lastMonth() {
  
          $hits_count = self::interval(Carbon::now()->subMonth()->firstOfMonth(), Carbon::now()->subMonth()->lastOfMonth());
  
          return $hits_count;
      }
docs: Return the hits for the last Month
  
  @return int