Add solution for #11235 Frequent values
Fixes