Teachers employed for a portion of the school year due to termination of employment, retirement or long term leave of absence shall be paid based upon the number of days taught.