[PATCH 3/3] mstask: Write correct trigger count to a job file.