public int getCheckedCount() {
        int result = 0;
	        for (int i = 0; i < checkedItems.length; i++) {
	            if (checkedItems[i]) {
	               result++;
	            }
	        }
	       return result;
	    }