Number of stored iterations on master, 0 on non-master.
Use mpi.bcast(len(chkpt)) to obtain the count on all ranks.
mpi.bcast(len(chkpt))