The expenses accruing in the county courts shall be paid out of the county treasury in which the court is held in the same manner as other demands.