The clerk of the circuit court is required to tax in the bill of costs, after final judgment, all the costs that accrued on the trial before a justice of the peace, or before any other inferior tribunal or court, in all cases carried to the circuit court by appeal or by certiorari, and include the same in the execution issued for the costs accruing in the case in the circuit court.