Input: Sentence: 'A man and a woman are sitting in rocking chairs with laptops'. Count the number of nouns in this sentence.
Output: 4