Merge "Use PrevWordsInfo.getPrevWordCount() in Java side."