In this task, you need to count the number of nouns/verbs in the given sentence.

Input: Consider Input: Sentence: 'There is a man walking towards the waves'. Count the number of nouns in this sentence.

Output: 2


Input: Consider Input: Sentence: 'A man riding his surfboard through the waves'. Count the number of verbs in this sentence.

Output: 1


Input: Consider Input: Sentence: 'The outside a 7-11 on a street corner and some people are around'. Count the number of verbs in this sentence.


Output: 0