async def count_total_file_size(files):
    """Counts the total size of a list of slack files."""
    total_file_size = 0
    for file in files:
        total_file_size = total_file_size + file["size"]
    return total_file_size