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

Ex Input:
Sentence: 'A giraffe standing next to a stone wall'. Count the number of nouns in this sentence.

Ex Output:
3


Ex Input:
Sentence: 'The street sign for Ronald Reagan Allee in Berlin'. Count the number of nouns in this sentence.

Ex Output:
2


Ex Input:
Sentence: 'Two very pretty giraffes standing next to each other'. Count the number of nouns in this sentence.

Ex Output:

1