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

Ex Input:
Sentence: 'a street sign is displayed on a nice summer day'. Count the number of nouns in this sentence.

Ex Output:
4

Ex Input:
Sentence: 'Three children are sitting with food in the park'. Count the number of nouns in this sentence.

Ex Output:
3

Ex Input:
Sentence: 'a close up of a pile of luggage near a train'. Count the number of nouns in this sentence.

Ex Output:
4