The numbers on the interface update 1 behind its real value.
So the first one you take, does not change the amount inside the bin.
You need to close and reopen the bin for it to update correctly.
EDIT: If you have 1 left in the container, and you take it out, the interface will show 1/0