Input: Sentence: 'Some people and chickens hang out in an undeveloped space'. Count the number of nouns in this sentence.
Output: 3