The Department of Revenue shall charge and deduct from the proceeds of the tax levied an amount equal to the cost to the department of making the collections, and the charge shall not exceed five percent of the total amount of tax collected. Following that deduction, the department shall pay the remainder of the tax proceeds to the county.