Input: Sentence: 'Baseball player in a blue uniform celebrates a good play'. Count the number of nouns in this sentence.
Output: 4