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

Ex Input:
Sentence: 'A woman brushing her hair with a brush and seated in front of a mirror'. Count the number of nouns in this sentence.

Ex Output:
5

Ex Input:
Sentence: 'A man standing on a tennis court holding a tennis racquet'. Count the number of verbs in this sentence.

Ex Output:
2

Ex Input:
Sentence: 'a cat that is laying down on a table'. Count the number of verbs in this sentence.

Ex Output:
1