Add word count to index