The costs and expenses incurred by impaneling a multicounty grand jury and in the performance of its functions and duties shall be paid by the state.