def calculate_day_count(birthday: date) -> int:
    """Calculate the day count from reference date '31 December 1899'."""
    ref_date = date(1899, 12, 31)
    return (birthday - ref_date).days
Calculate the day count from reference date '31 December 1899'.
faker/providers/ssn/uk_UA/__init__.py