ENG-5854: Set update count for batches of SQL to sum of all updates.
(cherry picked from commit 26d1cdd6d200044a5e263dcff24a370d308a6df2)