QWERTY01 - How many words(SHELL)
How many times(SHELL)
You are provided with a word to search. You have to search how many times that word appears in the given list of words.
The first line contains a word which should be searched. Then the words in the list are provided one per line. "end" denotes the end of the list.
Just print the number of occurances of the searched word in the given list
Length of any word <=30
Number of words in the search list <=100
The word to search ≠ “end”