I have a list which contains these values:
nl restservicesMonumenten_raadplegenMapServer
nl restservicesBR_GroenstructuurplankaartMapServer
nl restservicesBR_GroenstructuurplankaartMapServer
nl restservicesBijzondere_BomenFeatureServer
nl restservicesBR_BAGFeatureServer
nl restservicesBR_BAGFeatureServer
nl restservicesVERG_TOEZOPLOSFeatureServer
nl restservicesVERG_TOEZOPLOSFeatureServer
nl restservicesVERG_TOEZOPLOSFeatureServer
nl restservicesVERG_TOEZOPLOSFeatureServer
nl restservicesPROJ_Mut_editFeatureServer
nl restservicesPROJ_Mut_editFeatureServer
nl restservicesPROJ_Mut_editFeatureServer
nl restservicesPROJ_Mut_editFeatureServer
nl restservicesPROJ_Mut_editFeatureServer
In want to clean up this list by removing the duplicate strings. However, I want to keep the number of times each string occures. Finally, I want to get this list which stores after each string the number of occurence as shown in my first list:
nl restservicesMonumenten_raadplegenMapServer (1)
nl restservicesBR_GroenstructuurplankaartMapServer (2)
nl restservicesBijzondere_BomenFeatureServer (1)
nl restservicesBR_BAGFeatureServer (2)
nl restservicesVERG_TOEZOPLOSFeatureServer (4)
nl restservicesPROJ_Mut_editFeatureServer (5)
Any ideas? I have tried something with an AttributeSplitter folllowed by a ListHistogrammer which leads to two lists. However, I was not able to combine them so far.