code: def cc_iterable_len(cc_iterable):
      """Count the number of elements in an Iterable object.
  
      Args:
        cc_iterable: a CLIF-wrap of a subclass of the C++ Iterable class.
  
      Returns:
        integer count
      """
      count = 0
      while True:
          not_done, _ = cc_iterable.Next()
          if not not_done:
              break
          count += 1
      return count
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import os
  from absl import flags
  from absl.testing import absltest
  from etils import epath
  import six
  from third_party.nucleus.protos import position_pb2
  from third_party.nucleus.protos import reads_pb2
  from third_party.nucleus.protos import struct_pb2
  from third_party.nucleus.protos import variants_pb2
  from third_party.nucleus.util import cigar
label_desc: Use image node_id 8 for calling a global function with example usage: cc_iterable_len(cc_iterable) and returns: count