code: def visit_file(self, item, parent):
          
          if item.need_to_send:
              self.files += 1
              self.chunks += item.count_chunks(self.bytes_per_chunk)
docs: Increments counter if item needs to be sent.
          :param item: LocalFile
          :param parent: LocalFolder/LocalProject