<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def single_download_photos(photos):
 """Use single process to download photos :param photos: The photos to be downloaded :type photos: list of dicts """

    global counter
    counter = len(photos)
    for photo in photos:
        download_photo(photo)