Optimize SEO words counter