Return the total number of updated records