Input: Sentence: 'A bowl full of apples sitting next to a vase and a mirror'. Count the number of nouns in this sentence.
Output: 4