Input: Sentence: 'Two biscuit sandwiches sitting on a plate next to greens'. Count the number of nouns in this sentence.
Output: 4