Fix reporting on the number of items updated in bulk index API. Previously always returned 0.