If i understand it correctly, the answer is yes and no.
Yes, it counts toward paying back your HPSP years, BUT since you are being trained, you acrue an additional year of payback. So basically it evens out to you still owing that year.
take it easy
homonculus