Adding the number of samples.