added test number 39 - count words of each length