The Link Analyzer will help to separate all links to internal and outgoing URLs for each URL. And determine the ratio between them.
This Keyword Density Checker tool will allow you to know the density of keywords in your text. Online and absolutely free.