how to count result rows in pandas dataframe?,x = sum(data['cond'] == 1)