Just making sure... Your collision function doesn't accidentally hold another count variable or refers to removed objects?