Input: Sentence: 'A baseball pitcher who is winding up to pitch the ball'. Count the number of nouns in this sentence.
Output: 3