added a diagnostic to say how many rows being handled.  delete later