code: def nobs(self):
          
          self.control_data.nobs = self.observation_data.shape[0]
          return self.control_data.nobs
docs: get the number of observations
  
          Returns
          -------
          nobs : int
              the number of observations