Could you please review this and give me idea how to make this approach to work.
(I will proceed to work along the line suggested by the hint, but was curious.)
def count_multi_char_x(word, x):
counter = 0
for i in range(0, len(word), len(x)):
if x[0:len(x)-1] == word[0:len(x)-1]:
counter += 1