The justices holding a court for the trial of an unlawful entry and detainer shall each be entitled to Two Dollars ($2.00) a day for attending the trial; and other fees of witnesses and officers for services rendered in relation to the proceeding and trial shall be the same as the fees for similar services in the circuit court, and shall be taxed in the costs.