add a function most_times
add a function most_times