how do you count how many times each element of a list appear in a column of a dataframe code example Example: number of times a value occurs in dataframne df['a'].value_counts()