Section 26. The town clerk shall receive the following fees from the town upon presenting to the town treasurer a certificate of the receipt of the prescribed copies by the commissioner of public health: For each birth, marriage or death, one dollar. He shall also receive from the town the following fees: For each certificate transmitted under section twelve, fifty cents; for receiving and recording an affidavit and forwarding a copy thereof under section thirteen, one dollar; for sending the notice required by section twenty-three, fifty cents; for each oath administered in his capacity as clerk, twenty-five cents. A town may limit the aggregate compensation allowed to its clerk.