Input: Sentence: 'A shaggy haired sheep standing in a small meadow'. Count the number of nouns in this sentence.
Output: 2