Input: Sentence: 'There is soup in the bowl and a sandwich on a plate'. Count the number of nouns in this sentence.
Output: 4