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

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: '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: 'The angle view of tower with a clock'. Count the number of nouns in this sentence.

Ex Output:

4