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

Sentence: 'a sub sandwich wrapped in some paper and cut in half'. 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: 'A baseball player breaks a baseball bat while hitting the ball'. Count the number of verbs in this sentence.

2