On exit:
$p$, the number of parameters in the (sub)model, including the intercept if one is present. If
${\mathbf{what}}=\mathrm{Nag\_SubModelX}$, then the submodel is the one specified in
hform otherwise the model is the one used when defining the design matrix described in
hxdesc.
If ${\mathbf{lisx}}\ne 0$, if ${\mathbf{intcpt}}=\mathrm{Nag\_NoIntercept}$, $p={\sum}_{i=1}^{{m}_{x}}{\mathbf{isx}}\left[i-1\right]$, otherwise $p={\sum}_{i=1}^{{m}_{x}}{\mathbf{isx}}\left[i-1\right]+1$.