Input: Sentence: 'A black cat sitting in front of a banana'. Count the number of nouns in this sentence.
Output: 3