tallies the elements in list, listing all distinct elements together with their multiplicities.
uses test to determine whether pairs of elements should be considered equivalent, and gives a list of the first representatives of each equivalence class, together with their multiplicities.
Examplesopen all close all
Basic Examples (2)
Use test argument to count expressions with the same Head: