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

Input: Consider Input: Sentence: 'A lady riding a rodeo horse preparing to round a barrel'. Count the number of nouns in this sentence.

Output: 4


Input: Consider Input: Sentence: 'A man and children are riding on the back of an elephant'. Count the number of nouns in this sentence.

Output: 4


Input: Consider Input: Sentence: 'A motorcycle parked on the side of the road'. Count the number of nouns in this sentence.


Output: 3