Counting dropped items after removing them from droppable area

I want to count dropped items inside dropped area. Here is example. It works fine except one thing. when I start to remove items it does not count first item and only after removing first item number starts to decrease.