Input: Sentence: 'The man walks on the tennis court in front of the audience'. Count the number of nouns in this sentence.
Output: 5