Assuming you've set up these rows all with separate fields rather than a repeating table and that they all have the same checked/unchecked values, the formula to count the number of checkboxes that are checked would be:
count((firstField | secondField | thirdField | ... | lastField)[. = 'valueWhenChecked'])