The methods MTPTracker::write_trajectories now writes first the number of trajectories.