It shall be the duty of every operator of a motel located within the county to collect from the occupants the tax levied and imposed upon the occupancy of guest rooms by the provisions of this article.