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 dog is sitting on a couch with it's head turned to look out of the window'. Count the number of verbs in this sentence.

Ex Output:
4


Ex Input:
Sentence: 'A photo of a TV dinner beside a computer and action figures'. Count the number of nouns in this sentence.

Ex Output:

6