var numberOfChecked = $('input:checkbox:checked').length;
var totalCheckboxes = $('input:checkbox').length;
var numberNotChecked = totalCheckboxes - numberOfChecked;
//or
var numberNotChecked = $('input:checkbox:not(":checked")').length;
$('input[type="checkbox"]:checked').length