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

Ex Input:
Sentence: 'A barge floating down a river towards a city'. Count the number of nouns in this sentence.

Ex Output:
3


Ex Input:
Sentence: 'A tennis player looks at a tennis ball as she lifts up a tennis racket'. Count the number of nouns in this sentence.

Ex Output:
6


Ex Input:
Sentence: 'A view of a giant clock tower with a ferris wheel behind it'. Count the number of nouns in this sentence.

Ex Output:

4