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

Ex Input:
Sentence: 'A nearly all white colored bedroom with a brown wooden floor'. Count the number of nouns in this sentence.

Ex Output:
2


Ex Input:
Sentence: 'A red train engine coming into a station'. Count the number of nouns in this sentence.

Ex Output:
3


Ex Input:
Sentence: 'a person that is standing at home plate'. Count the number of nouns in this sentence.

Ex Output:

3