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

Example Input: Sentence: 'A man flying through the air while riding skis'. Count the number of nouns in this sentence.
Example Output: 3

Example Input: Sentence: 'The skateboarder in jeans and t-shirt stands on the pavement next to the skateboard'. Count the number of verbs in this sentence.
Example Output: 1

Example Input: Sentence: 'a black and white bird with red eyes sitting on a tree branch'. Count the number of nouns in this sentence.
Example Output:
4