Skip to navigation

Question:
How to cound elements inside a link tag with javascript?

The sum of the parts if greater than the whole.