Return the number of patterns in the dataset
npatterns(x)
x
the dataset.
data(test_dataset) npatterns(test_dataset)