Input: Sentence: 'People are gathered around looking at a horse'. Count the number of nouns in this sentence.
Output: 2