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

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: 'a bathroom view of a tiolet, bathtub sitting on a tiled floor'. Count the number of nouns in this sentence.

Ex Output:
5


Ex Input:
Sentence: 'A bird standing in a grassy and sandy area'. Count the number of nouns in this sentence.

Ex Output:

2