generate a random number of datasets with a random number of rows