By the way, it doesn't say anywhere that someone has to contribute to the costs of a fence.... It only says that as an owner you have to build a fence if the neighbor demands it. You have to pay for it yourself – you also decide exactly what kind of "enclosure" you want to build.
The ones at the cemetery probably won't need a fence and therefore won't demand one either.