def fits(self, current_count, current_size, max_size, new_span):
return <NUM_LIT:2> + current_count + current_size + len(new_span) <= max_size<EOL>
Checks if the new span fits in the max payload size.

        Json lists only have a 2 bytes overhead from '[]' plus 1 byte from
        ',' between elements