Input: Sentence: 'A man is speaking into a microphone for a crowd'. Count the number of nouns in this sentence.
Output: 3