The model's entity count with the session's creates and deletes applied.
Adjusts the parser's own total rather than re-summing byType, so an unedited
model's number is byte-for-byte what it always was.
Only tombstones that name a STORE entity are subtracted. A created-then-
deleted entity is already absent from createdAll, so counting its tombstone
too would subtract it a second time and report one entity fewer than the file
has (#2012). This also makes a tombstone on an id the store never had — which
entity_delete rejects, but nothing here relies on that — unable to drive the
count below the truth.
The model's entity count with the session's creates and deletes applied.
Adjusts the parser's own total rather than re-summing
byType, so an unedited model's number is byte-for-byte what it always was.Only tombstones that name a STORE entity are subtracted. A created-then- deleted entity is already absent from
createdAll, so counting its tombstone too would subtract it a second time and report one entity fewer than the file has (#2012). This also makes a tombstone on an id the store never had — whichentity_deleterejects, but nothing here relies on that — unable to drive the count below the truth.