nobs function

Number of observations in a model