Fix selected word count and total word count