How i can do for creating a condition in payroll for if the mount have 4 mondays pay 100

How i can do for creating a condition in payroll for if the mount have 4 mondays pay 100 if have 5 mondays pay 120