Input: Sentence: 'A large elephant bathing in a pool of deep water'. Count the number of nouns in this sentence.
Output: 3