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

[EX Q]: Sentence: 'A man riding on the back of an elephant near a lake'. Count the number of nouns in this sentence.
[EX A]: 4

[EX Q]: Sentence: 'a keyboard that has some lego men on  it'. Count the number of nouns in this sentence.
[EX A]: 2

[EX Q]: Sentence: 'A cupboard door with shiny glass reflecting a window'. Count the number of verbs in this sentence.
[EX A]:
1