code: def _calculate_size(args):
      size = 0
      assert type(args) is tuple
      for arg in args[0]:
          assert type(arg) is tuple
          assert len(arg) == 2
          size += len(arg[0]) + len(arg[1])
      return size
  
file_path: aim/aim/ext/transport/rpc_queue.py
imports: import time
  import queue
  import logging
  import threading
  import weakref
label_desc: Use image node_id 8 for calling the RpcQueueWithRetry obj's underlying member method code with example usage: obj._calculate_size(args) and returns: size