For training, use the length of the list