Count the Occurrence(s) of items in a List or ListView -

This example app shows one way to count the number of occurrences (frequency) of each item in a List. It does this while keeping the original List ( myList ) intact.

countNumbOccurenceOfEachItemInList.aia (4.2 KB)

It uses two code Block algorithms by @gordonlu310 described and shared in his post here:

Regards,
Steve

1 Like

Really cool idea, can be useful in very big amount of applications. :white_check_mark:

1 Like

Using dictionaries:


duplicate_counter.aia (3.1 KB)

1 Like