Input: Sentence: 'The crowd behind the fence watches the woman playing tennis'. Count the number of nouns in this sentence.
Output: 4