Frequency of unique item in array

Ok, I know how to remove duplicates from an array. But now I need to know how many times each unique item is in an array.

Example:

a,a,a,b,b,c,a

a:4
b:2
c:1

Any ideas?

Mucho Thanko!