Input: Sentence: 'Two elephant have platform chairs and one chair has two people sitting in it'. Count the number of nouns in this sentence.
Output: 5