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

Example Input: Sentence: 'Woman cross country skiing alone on a trail in the woods'. Count the number of nouns in this sentence.
Example Output: 5

Example Input: Sentence: 'A view of a very modern kitchen. Its a 3d drawing'. Count the number of nouns in this sentence.
Example Output: 3

Example Input: Sentence: 'A small girl rides a horse through a snady area'. Count the number of nouns in this sentence.
Example Output:
3