The salaries of clerks of the district courts shall be paid by the county in which they respectively act, in monthly installments, after services are performed.