In addition to all other legal costs, a fee not to exceed $5.00 shall be charged and collected as law library fees for each case filed in the magistrate court of Cobb County. The chief magistrate or, if so designated by the chief magistrate, the clerk of the magistrate court shall collect the law library fees authorized by this section and shall remit such fees to the treasurer of the board of trustees of the Cobb County law library on or before the tenth day of the month immediately following the month in which such fees are collected. The amount of such fees shall be determined by the chief judge of the Superior Court of Cobb County. As used in this section, the term "case" means any civil or criminal matter which is docketed upon the official docket of the magistrate court of Cobb County and to which a number is assigned whether such matter is consented or not.