Input: Sentence: 'While the  pitcher is winding up for the pitch, the runner is ready to react'. Count the number of nouns in this sentence.
Output: 3