# SampleSize -- size of the random sample

## Description

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:

 i1 : s = sample(ER(1,1,0.0),10) o1 = Sample{...4...} o1 : Sample i2 : s.SampleSize o2 = 10