Pattern transform

a long time we speak about it.... Here it is.
what a strange name... ``count_unique`` seems more suitable. why using ``std::set`` over ``std::unordered_set``?