Below is the total number of checked flags per page
var count = $(':checkbox:checked').length;
If you want to limit it to only a specific CheckBoxList checklist, you can give this checkboxlist some class, and then:
var count = $('.someClass :checkbox:checked').length;
source share