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

Sentence: 'A man petting a horse's face while a woman stands behind next to another horse'. Count the number of nouns in this sentence.
5