Added method to check the number of checked and unchecked items