now calculate the average word length