Count words in index command.