Input: Sentence: 'A close up of a horse wearing a decorated harness'. Count the number of nouns in this sentence.
Output: 2