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

Ex Input:
Sentence: 'Two girls with painted faces sit on the sidewalk'. Count the number of nouns in this sentence.

Ex Output:
3


Ex Input:
Sentence: 'A very old style fire truck at the station'. Count the number of nouns in this sentence.

Ex Output:
4


Ex Input:
Sentence: 'A little girl and boy sitting on a bed'. Count the number of nouns in this sentence.

Ex Output:

3