Fees of witnesses and jurors shall be ascertained by the courts of the county entered upon the records and duly certified by the respective clerks to the county commissioners being first sworn to or affirmed before the controller or the chief clerk of the county commissioners, as the case may be.
16 Pa.C.S. § 14954