So basically this questios in equal to either 17709270 or 29791785, with the difference that I want to count values based on multiple columns instead of just one.
I have for example
column1 column2 column3 column4
1 a 2 True asdmn
2 b 2 False asdd
3 c 3 False asddas
4 a 2 False grtgv
5 b 1 False bdfbf
and my result should be
column1 column2 column3 column4 counts
1 a 2 True asdmn 2
2 b 2 False asdd 1
3 a 3 False asddas 1
4 a 2 False grtgv 2
5 b 1 False bdfbf 1
If I am not mistaken none of the respones of previous referenced questions work for this case.