Input: Sentence: 'A single young giraffe eats from a grassy field'. Count the number of nouns in this sentence.
Output: 2