Input: Sentence: 'A bird standing on a plate of leftovers on an outdoor table'. Count the number of nouns in this sentence.
Output: 4