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

Ex Input:
Sentence: 'Surfer riding a wave in ocean with surfboard pointed up'. Count the number of nouns in this sentence.

Ex Output:
4


Ex Input:
Sentence: 'a small girl in a white shirt  sitting on a elephant statue'. Count the number of nouns in this sentence.

Ex Output:
4


Ex Input:
Sentence: 'Picture of an outside spot with a transport'. Count the number of nouns in this sentence.

Ex Output:

3