Input: Sentence: 'A very tall man walks toward a young boy on the tennis court'. Count the number of nouns in this sentence.
Output: 4