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

Ex Input:
Sentence: 'A clean bathroom is seen in this image'. Count the number of nouns in this sentence.

Ex Output:
2


Ex Input:
Sentence: 'An old white building has a sign that says F Street'. Count the number of nouns in this sentence.

Ex Output:
2


Ex Input:
Sentence: 'Traffic warning sign framed by a commercial building in the background'. Count the number of verbs in this sentence.

Ex Output:

1