Input: Sentence: 'Good friends pose for a picture sitting on a wall'. Count the number of nouns in this sentence.
Output: 3