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

Ex Input:
Sentence: 'A couple of people on a horse pulled carriage'. Count the number of nouns in this sentence.

Ex Output:
4


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 vintage photo of a bike parked in front of a building'. Count the number of nouns in this sentence.

Ex Output:

4