Input: Sentence: 'A picture of a couple who got married'. Count the number of nouns in this sentence.
Output: 2