Input: Sentence: 'Boy in black jacket and beaning holding a baseball bat'. Count the number of nouns in this sentence.
Output: 3