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: 'some long boats are out on the water'. Count the number of nouns in this sentence.
Example Output: 2

Example Input: Sentence: 'A woman in blue jacket on skis standing on a slope'. Count the number of nouns in this sentence.
Example Output:
4