def METHOD_NAME(self, record: Mapping[str, str]) -> int:
    """
    A hacky way to estimate the size of the object.
    :param record: the record to estimate the size of
    """
    record_in_json = json.dumps(record)
    return len(record_in_json)