Input: Sentence: 'A woman preparing to serve a ball thrown high in the air'. Count the number of nouns in this sentence.
Output: 3