word counter and word counter through a search phrase