count number of values in column python code example
Example 1: pandas count rows with value
len(df[df['score'] == 1.0])
Example 2: pandas get count of column
df['column_name'].value_counts()
len(df[df['score'] == 1.0])
df['column_name'].value_counts()