Pandas's value_counts function outputs the counts of each element in a Pandas series.
If I need to count each unique elements of a list, I need to make it into a Pandas series and then call the value_counts function.
Is there a function that does the same thing in NumPy?