Input: Sentence: 'A small child kneeling down on a sandy beach next to the ocean'. Count the number of nouns in this sentence.
Output: 3