determines the frequency of words on a page given a URL