Detailed Instructions: In this task, you need to count the number of nouns/verbs in the given sentence.
Problem:Sentence: 'Two dogs are running together and one of them has a frisbee'. Count the number of nouns in this sentence.
Solution:
2