NetLogo 7.0.0-beta2:

table:counts

table:counts list

Counts the occurrences of each element of the given list and reports the counts in a table.

Take me to the full Table Extension Dictionary