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

Ex Input:
Sentence: 'Two people surfing in the sea and flying kites'. Count the number of nouns in this sentence.

Ex Output:
4


Ex Input:
Sentence: 'Two people with dogs walking by a modern building in a city'. Count the number of nouns in this sentence.

Ex Output:
4


Ex Input:
Sentence: 'THERE IS A MAN STANDING NEXT TO LUGGAGE'. Count the number of nouns in this sentence.

Ex Output:

1