The batch has 3 writes, applies 3, and ends with 3 rows.
writes=3
Write examples are tiny finite row modifications; SQL dialects, transactions, constraints beyond the visible key, triggers, indexes, concurrency, performance, and product behavior are out of scope.
Read before and after counts
Each result row shows the row count before and after that write.
step by step
Summary
Later writes see the table left by earlier writes.