Input: Sentence: 'A man in all white serving a tennis ball into the air'. Count the number of nouns in this sentence.
Output: 4