Input: Sentence: 'A sheep looks on at other sheep standing in a field'. Count the number of nouns in this sentence.
Output: 3