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

Ex Input:
Sentence: 'An open refrigerator in a home in disrepair'. Count the number of nouns in this sentence.

Ex Output:
3

Ex Input:
Sentence: 'A series of photographs showing an adorable white dog and lots of yellow fire hydrants'. Count the number of nouns in this sentence.

Ex Output:
6

Ex Input:
Sentence: 'Two guys wearing glasses playing a game with the Wii remote controllers'. Count the number of nouns in this sentence.

Ex Output:
4