detection of empty basket via basket item count