How can I Link a perimeter of a rectangle into a drawing table?

I have a table where I need the perimeter to be constantly updated.

I have managed to use the link to property function to link individual dimensions, but I want a perimeter to be displayed in my table

How would I go about doing this?

Thanks

SolidworksDrawings And Detailing