Dimension by elements

Take a look at this post then for point references.