Input: Sentence: 'A cup with a banana sitting inside of it'. Count the number of nouns in this sentence.
Output: 2