add countwordsinstring