Modify most_common_words method