Input: Sentence: 'Group of giraffes standing next to cut up tree in grassy field'. Count the number of nouns in this sentence.
Output: 3