get_shortest_n_longest
get_word_count support both list and string