Refactor; add nr rows affected to delete