code: def repeat_string(A, B):
      count = 1
      tmp = A
      max_count = (len(B) / len(A)) + 1
      while not (B in tmp):
          tmp = tmp + A
          if count > max_count:
              count = -1
              break
          count = count + 1
  
      return count
  
label_desc: Use image node_id 1 for calling a global function with example usage: repeat_string(A, B) and returns: count