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