Possible fix to erroneous word_count metric