Input: Sentence: 'A beach area with people on it and kites flying above'. Count the number of nouns in this sentence.
Output: 4