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

Ex Input:
Sentence: 'A grandfather clock next to wall with windows and paintings'. Count the number of nouns in this sentence.

Ex Output:
4


Ex Input:
Sentence: 'An elephant is by itself standing for the picture'. Count the number of verbs in this sentence.

Ex Output:
1


Ex Input:
Sentence: 'a long tower on top of a white building'. Count the number of nouns in this sentence.

Ex Output:

3