Including word occurrences while calculating sentence's length