The sheriff of the county shall attend upon all sessions of the county court and shall be subject to the orders thereof. He shall execute the orders, writs and mandates of the county court as required by law of him with reference to the circuit court. For all such service he shall receive the same compensation as is allowed by law for similar services in the circuit court; provided, that for serving each venire for the county court the sheriff shall receive the sum of ten dollars.