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

Q: Sentence: 'A person playing tug of war with a dog and a frisbee'. Count the number of nouns in this sentence.

A: 5
****
Q: Sentence: 'a messy room with clothes and a computer'. Count the number of nouns in this sentence.

A: 3
****
Q: Sentence: 'A window with a red frame showing the reflection of a building'. Count the number of nouns in this sentence.

A:
4
****