added assert for wordslist count.