Input: Sentence: 'A baseball player tossing a ball without a shirt'. Count the number of nouns in this sentence.
Output: 4