Place this where you want the total to appear:
<span class="checkboxCount"></span>
Then place this in the question's footer:
<script>
$(document).ready(function(){
updateCheckboxCount();
})
function SSI_CustomGraphicalCheckbox() {
updateCheckboxCount();
}
function updateCheckboxCount() {
var count = 0;
$('input[name="hid_list_[% QuestionName() %]"]').val().split(',').forEach(function(item){
if (SSI_GetValue('[% QuestionName() %]_' + item)) {
count++;
}
});
$('.checkboxCount').text(count);
}
</script>