Input: Sentence: 'A player is at bat on a baseball field'. Count the number of nouns in this sentence.
Output: 4