add counter in <wordsplitter>