Given an object that describes a dataset or a model, it returns the number of features.
nFeatures(x)
x
an object that describes a dataset or a model.
the number of features.