Input: Sentence: 'A baseball player holds a bat in the on deck circle'. Count the number of nouns in this sentence.
Output: 5