I have some data like these:
UID ---------------------- other terms i don not care
1001---------------------- ...
1001---------------------- ...
1001---------------------- ...
1002---------------------- ...
1002---------------------- ...
1003 ---------------------- ...
then I aggregation by UID,so i get this:
uid ------------------------------------------Count
1001--------------------------------------------3
1002--------------------------------------------2
1003--------------------------------------------1
How can i get this:
count range----------------------uid count
0<count<=2----------------------2
3<count<5 ----------------------1