Input: Sentence: 'Some elephants and a man are in murky water'. Count the number of nouns in this sentence.
Output: 3