Section 22. The mayor and aldermen or selectmen shall each receive two dollars for each day’s service upon such petition, and the city or town clerk shall receive for recording a petition or order thereon the fee provided by clause (68) of section thirty-four of chapter two hundred and sixty-two.