the number of datapoints is an integer