Pandas Groupby Count Plning

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