further improvments over number of rows returned in first part of delete statement