Checkbox count in a table

I have a table with several columns with the checkbox format. What formula could I use to count the number of checked boxes (true) in the row?

To count the checkboxes in the row, you can actually just add them up.

=CheckboxColumn1 + CheckboxColumn2 + CheckboxColumn3

And if you need to count a column: