Input: Sentence: 'A man helps his children get a kite out of a tree'. Count the number of nouns in this sentence.
Output: 4