How to calculate keyword density of a web page?