Input: Sentence: 'A group of giraffes in the wild as seen from a safari vehicle'. Count the number of nouns in this sentence.
Output: 5