The several counties in each respective court district shall transfer from the general funds of those county treasuries to the Administrative Office of Courts a proportionate amount to be paid toward the annual compensation of the court reporter, including any additional compensation paid for the performance of court administrator duties. The amount to be paid by each county shall be determined by the number of weeks in which court is held in each county in proportion to the total number of weeks court is held in the district. For purposes of this section, the term "compensation" means the gross salary plus all amounts paid for benefits, or otherwise, as a result of employment or as required by employment, but does not include transcript fees otherwise authorized to be paid by or through the counties. However, only salary earned for services rendered shall be reported and credited for retirement purposes. Amounts paid for transcript fees, benefits or otherwise, including reimbursement for travel expenses, shall not be reported or credited for retirement purposes. For example, if there are thirty-eight (38) scheduled court weeks in a particular district, a county in which court is scheduled five (5) weeks out of the year would have to pay five-thirty-eighths (5/38) of the total annual compensation.