<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def nobs(self):
 """get the number of observations Returns ------- nobs : int the number of observations """

        self.control_data.nobs = self.observation_data.shape[0]
        return self.control_data.nobs