Input: Sentence: 'A prom date is posing for a picture while the guy looks at the girl'. Count the number of nouns in this sentence.
Output: 5