When you work with Pandas in Python there will be multi ways to count your dataframe one, i have testet 4 ways to count, and depens on what i want there will be 2 ways there are better then the 2 orthers.
whats my video and learn witch way you shut count your dataframe one.