Input: Sentence: 'Orange cupcake with Orange is sitting next to it'. Count the number of nouns in this sentence.
Output: 2