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

Ex Input:
Sentence: 'A person talking a photo of a bathroom containing a sink and a toilet'. Count the number of verbs in this sentence.

Ex Output:
2

Ex Input:
Sentence: 'A very classic bathroom that is decorated in brown and white'. Count the number of nouns in this sentence.

Ex Output:
1

Ex Input:
Sentence: 'a lady walking in the rain carrying a pink umbrella'. Count the number of verbs in this sentence.

Ex Output:
2