An object of type Sample contains several pieces of information about the random sample, namely: the name of the model used to generate the sample, values of the model's parameters used to generate the sample, the size of the sample (that is, the number of data points in it), and the data itself. As each of these is a hash table entry, one obtains the sample size by using the hash key SampleSize:


The object SampleSize is a symbol.