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

Sentence: 'A group of people smiles at the camera while eating pizza in the grass'. Count the number of nouns in this sentence.
5