NODE-7661ClosedFixed
count empty-scope Code as code_with_scope in calculateObjectSize
h3. Expected Behavior As a... developer I expect... alignment between the predicted/precalculated size of a BSON object and the size of a BSON object after it is written When... invoked through the parallel `calculate_size.ts` and `serializer.ts` paths h3. Actual Behavior and Impact * _What is the actual behavior?_ ** In the specific case of `code_with_scope`, *serializer.ts* and the *calculate_size.ts* have subtly different conditionals before emitting {*}code_with_scope{*}: *** {*}