Added implementation of occurences of letters in words and in sentences