Return the number of types in the dataset.
ntypes(x)
x
A TRONCO compliant dataset.
The number of types in the dataset.
data(test_dataset) ntypes(test_dataset)