Input: Sentence: 'A couple of pictures showing a bathroom and a bedroom'. Count the number of nouns in this sentence.
Output: 4