return the right count when doing a delete