Answer:
Written in Python:
userinp = input("Input: ")
count = 0
while not userinp == "stop":
print("You entered "+str(userinp))
count = count + 1
userinp = input("Input: ")
print("All done, "+str(count)+" words entered")
Step-by-step explanation:
I've added the full program as an attachment where I use comments to explain difficult lines