Input: Sentence: 'A cheetah, cow, horse, and woman looking down a hallway'. Count the number of nouns in this sentence.
Output: 5