Add the number of samples to output files.
Add a prediction loss that computes a simplified version of the model loss.