n_features function

Extract number of features stored in an object