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

Ex Input:
Sentence: 'some street signs sitting by a tree'. Count the number of nouns in this sentence.

Ex Output:
3


Ex Input:
Sentence: 'Derek Jeter approaches the plate in a baseball game against the Giants'. Count the number of nouns in this sentence.

Ex Output:
3


Ex Input:
Sentence: 'a white and black truck and some houses'. Count the number of nouns in this sentence.

Ex Output:

2