def count_elim(num):
  
  count_elim = 0
  for n in num:
    if isinstance(n, tuple):
        break
    count_elim += 1
  return count_elim
def count_elim(num):
    count_elim = 0
    _n_i = 0
    while _n_i < len(num):
        n = num[_n_i]
       
        if isinstance(n, tuple):
            break
        count_elim += 1
        _n_i += 1
    return count_elim