All expenses for holding such election shall be paid out of the treasury of the county in which the same is held, and the managers, clerks, and returning officers shall be entitled to the same compensation as managers, clerks, and returning officers of the general election.