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

Ex Input:
Sentence: 'a bathroom with a large mirror with colorful rim'. Count the number of nouns in this sentence.

Ex Output:
3


Ex Input:
Sentence: 'A room with wooden slatted walls adorns two shower knobs, a trash can, a soap dish with soap and a sink'. Count the number of verbs in this sentence.

Ex Output:
1


Ex Input:
Sentence: 'A girl walking on a path near a person on a bench'. Count the number of nouns in this sentence.

Ex Output:

4