Input: Sentence: 'A baseball game is on as the batter readies his hit'. Count the number of nouns in this sentence.
Output: 4