Add a basic counter to record the completion times of the task.