What should i define in y=’’ to get count of frequencies of dataframe

hi everyone,
I’m using px.bar function to implement bar graph
what should i define in y=’’ to get count of frequencies of dataframe .
its urgent and need some help asap