Skip to navigation

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

Write a big program only when it is clear by demonstration that nothing else will do.