Pandas Groupby Count Aganures

df.groupby(["col1", "col2"]).size().reset_index(name="size")
TheMikeste1