I could achieve till this point. But I'm stuck to find out the same result at customer level. For example
As A and B have more than 5 payments of same dollar amount, they should be identified as True and C should be identified as False.
A - True
B - True
C - False