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

Ex Input:
Sentence: 'a window is next to a toilet in a bathroom'. Count the number of nouns in this sentence.

Ex Output:
3


Ex Input:
Sentence: 'A small white and brown dog carrying a red frisbee'. Count the number of nouns in this sentence.

Ex Output:
2


Ex Input:
Sentence: 'A large flat screen TV sitting in a living room'. Count the number of verbs in this sentence.

Ex Output:

1