def METHOD_NAME(dir_paths: list[Path] | Path):
    if not isinstance(dir_paths, list):
        dir_paths = [dir_paths]
    size_in_bytes = sum(
        sum(f.stat().st_size for f in folder.glob("**/*") if f.is_file())
        for folder in dir_paths
    )
    return size_in_bytes / (1024 * 1024)