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

Example Input: Sentence: 'A group of brown teddy bears one without a head'. Count the number of nouns in this sentence.
Example Output: 3

Example Input: Sentence: 'a man is flying through the air on a snowboard'. Count the number of nouns in this sentence.
Example Output: 3

Example Input: Sentence: 'Kid falling down on the snow while using skis'. Count the number of nouns in this sentence.
Example Output:
3