Input: Sentence: 'A baseball player is at bat while watching another player await a pitch'. Count the number of nouns in this sentence.
Output: 5