Input: Sentence: 'a male on a bike eating a banana'. Count the number of nouns in this sentence.
Output: 3