Rafael Nadal wins record 10th title