Hi @ferdinandmussavene . In order to achieve this you will probably have to pass by auxiliary Program Rule Variable that get translated from “Boolean” to “Integer”.
This posts explains it with examples: Program rule, assign value by summing boolean data elements