Count words and two and three word phrases in a text, ignore stop words, and check where a target keyword appears: title, first paragraph, headings and overall density.