contrib / num_classes.pre

Edit on Github

int num_classes(object);

returns the number of classes used by object