Input: Sentence: 'The two elephants are walking together in the field'. Count the number of nouns in this sentence.
Output: 2