Input: Sentence: 'Two people surfing in the sea and flying kites'. Count the number of nouns in this sentence.
Output: 4