Grand and petit jurors in attendance upon the sessions of the county court shall receive as a compensation for their services one dollar per day and five cents per mile for necessary travel in going to and returning from the county seat. Witnesses in attendance upon the county court shall receive the same compensation as witnesses in attendance upon the circuit court.