Input: Sentence: 'A zebra sticks his head into a car window and checks out a passenger'. Count the number of nouns in this sentence.
Output: 5