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

Sentence: 'A dog sits on a bed next to a cellphone and a pen'. Count the number of nouns in this sentence.
4

Sentence: 'A woman sitting next to a window smiles for a picture'. Count the number of nouns in this sentence.
3

Sentence: 'Animals behind a fence stand beside palm trees'. Count the number of verbs in this sentence.

0