Input: Sentence: 'A shirtless man in a leather jacket eating a sandwich'. Count the number of nouns in this sentence.
Output: 4