msg = input("Enter your message: ")
what = input("What are you looking for?: ")
i = 0
counter = 0
print("======= Your count of words =======")
while i < len(msg):
    if msg[i] == what[0]:
        if msg[i:len(what) + i] == what:
            counter += 1
            i = i + len(what) - 1
    i += 1
print(counter)
3b16dc84590574c33e3e5511f0431b17424bdccf
<mask token>

<mask token>
print('======= Your count of words =======')
while i < len(msg):
    if msg[i] == what[0]:
        if msg[i:len(what) + i] == what:
            counter += 1
            i = i + len(what) - 1
    i += 1
print(counter)

msg = input('Enter your message: ')
what = input('What are you looking for?: ')
i = 0
counter = 0
print('======= Your count of words =======')
while i < len(msg):
    if msg[i] == what[0]:
        if msg[i:len(what) + i] == what:
            counter += 1
            i = i + len(what) - 1
    i += 1
print(counter)

msg = input("Enter your message: ")
what = input("What are you looking for?: ")
i = 0
counter = 0
print("======= Your count of words =======")
while i < len(msg):
    if msg[i] == what[0]:
        if msg[i:len(what) + i] == what:
            counter += 1
            i = i + len(what) - 1
    i += 1
print(counter)