added decrementing of counts when animal dies