Universal-accessor parity with nobs.beezdemand_tmb() and the cross-price
classes. broom::glance(fit)$nobs and BIC(fit) were already correct via
their own paths (param_info$n_obs and the nobs attribute on
logLik(), respectively); this method closes the gap for any caller
that consumes nobs() directly.
Usage
# S3 method for class 'beezdemand_hurdle'
nobs(object, ...)