Count the functional covariates in a model (for internal use by other package functions)
Useful links