Input: Sentence: 'A man is running down to the ocean from a muddy hill'. Count the number of nouns in this sentence.
Output: 3