add feature_size (method return the number of features)
change method name (nr_class -> class_size)