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

[EX Q]: Sentence: 'Orange cupcake with Orange is sitting next to it'. Count the number of nouns in this sentence.
[EX A]: 2

[EX Q]: Sentence: 'A collection of books and knick-knacks on shelves'. Count the number of nouns in this sentence.
[EX A]: 5

[EX Q]: Sentence: 'A small pizza is baking in the oven'. Count the number of nouns in this sentence.
[EX A]:
2