list1 = [[21, 50, 101], [22, 52, 110], [25, 49, 113], [24, 49, 112], [21, 
    55, 109], [28, 54, 108], [30, 57, 102], [26, 56, 106], [25, 58, 111], [
    24, 60, 110]]
df = pd.DataFrame(list1, index=pd.date_range('2000-1-1', periods=10, freq=
    'D'), columns=list('ABC'))
print(df)
Как я могу воспроизвести COUNTIFS в excel в python/pandas?