4.5 Count dots on any number of black and white cards as one input (using a loop)

Block-based solución