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

Sentence: 'a cat sitting on a desk with keyboard and a computer mouse'. Count the number of nouns in this sentence.
5

Sentence: 'A black horse that is tied up eating grass'. Count the number of nouns in this sentence.
2

Sentence: 'A man standing on a tennis court holding a tennis racquet'. Count the number of nouns in this sentence.

5