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

Ex Input:
Sentence: 'a green white and red jet at an airport'. Count the number of nouns in this sentence.

Ex Output:
2


Ex Input:
Sentence: 'A man in a diner holding two baskets of sandwiches'. Count the number of nouns in this sentence.

Ex Output:
4


Ex Input:
Sentence: 'A man on a motorbike passing a truck'. Count the number of nouns in this sentence.

Ex Output:

3