Define episode numbers in the dataset.