added wordsCount in AP-1