Input: Sentence: 'Girls on a tennis court playing tennis'. Count the number of nouns in this sentence.
Output: 5