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

Example 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.
Example Output: 5

Example Input: Sentence: 'A person surfing under a wave in the ocean'. Count the number of nouns in this sentence.
Example Output: 3

Example Input: Sentence: 'A man with a white electrical device in his hands'. Count the number of nouns in this sentence.
Example Output:
3