Input: Sentence: 'Group of pilots displaying protest messages behind fenced area'. Count the number of nouns in this sentence.
Output: 4