There is hereby levied and assessed and there shall be paid a tax of five percent of the rent for every occupancy of a guestroom in a hotel in the county.