Input: Sentence: 'A man and a woman are cuddling on a park bench'. Count the number of nouns in this sentence.
Output: 4