Count internal and external links separately