area of a marker in mesh

Trying a pull request. Please revise the code. It should calculate and cache sum of areas of elements with the same marker.