Input: Sentence: 'An orange sitting on top of a wet beach'. Count the number of nouns in this sentence.
Output: 3