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 messy room with clothes and a computer'. Count the number of nouns in this sentence.

Ex Output:
3


Ex Input:
Sentence: 'an older woman is looking at a pink yellow and white cake'. Count the number of verbs in this sentence.

Ex Output:

1