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

Ex Input:
Sentence: 'The living room is clean and empty of people'. Count the number of nouns in this sentence.

Ex Output:
3


Ex Input:
Sentence: 'A large amount of bananas grouped together in a line'. Count the number of nouns in this sentence.

Ex Output:
3


Ex Input:
Sentence: 'A bed in a bedroom with a heart shaped box on it'. Count the number of nouns in this sentence.

Ex Output:

4