Section 7. Towns may annually elect one or more measurers of lumber, who shall be sworn to the faithful performance of their duties, and cities may by ordinance provide for the annual appointment of such measurers.