Input: Sentence: 'The small group of elephants are together in the water'. Count the number of nouns in this sentence.
Output: 3