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

Ex Input:
Sentence: 'A parking meter in front of a car'. Count the number of nouns in this sentence.

Ex Output:
4

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: 'A woman holding a child next to a brown horse'. Count the number of nouns in this sentence.

Ex Output:
3