code: def build_progress_message(total=None,
                             running=None,
                             finished=None,
                             failed=None,
                             cached=None):
      
      progress_message = {}
      if total:
          progress_message['total'] = total
      if running:
          progress_message['running'] = running
      if finished:
          progress_message['finished'] = finished
      if failed:
          progress_message['failed'] = failed
      if cached:
          progress_message['cached'] = cached
      return progress_message
docs: Build the progress message with correct formatting.