Print the number of NaNs in each step.
Print the number of NaNs in each step.