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

Ex Input:
Sentence: 'A small boat that is pulling a larger boat'. Count the number of nouns in this sentence.

Ex Output:
2


Ex Input:
Sentence: 'The busy street is crowded with people near tall buildings'. Count the number of nouns in this sentence.

Ex Output:
3


Ex Input:
Sentence: 'A cat with its eyes closed lying on a wicker chair'. Count the number of nouns in this sentence.

Ex Output:

4