In no trial of any misdemeanor in circuit court shall the fees of more than five (5) witnesses be taxed against any county or the state unless their materiality and importance are first affirmed and certified to, under oath, by the attorney at whose instance the additional witnesses are subpoenaed.