How to determine how many incidents are waiting to be deleted