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

Example Input: Sentence: 'a small girl in a white shirt  sitting on a elephant statue'. Count the number of nouns in this sentence.
Example Output: 4

Example Input: Sentence: 'A man with his tennis racket below his waist as the ball moves away from him'. Count the number of verbs in this sentence.
Example Output: 1

Example Input: Sentence: 'Group of men in safety gear next to a bus with emergency equipment'. Count the number of nouns in this sentence.
Example Output:
6