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

Input: Consider Input: Sentence: 'Man rubs hands and looks to long narrow pizza'. Count the number of verbs in this sentence.

Output: 2


Input: Consider Input: Sentence: 'A man riding on the back of an elephant near a lake'. Count the number of nouns in this sentence.

Output: 4


Input: Consider Input: Sentence: 'A abandoned yellow and blue train on tracks'. Count the number of nouns in this sentence.


Output: 2