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

Ex Input:
Sentence: 'The shelves are covered with a lamp, a clock, drawers, and photos'. Count the number of nouns in this sentence.

Ex Output:
5


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 man walking with an elephant in a parking lot'. Count the number of nouns in this sentence.

Ex Output:

4