The clerk of the district court shall keep a record of the attendance of jurors at each term, and of the attendance and fees of witnesses, when claimed during the term.