Input: Sentence: 'A coffe and plate of bread sit next to a pillar'. Count the number of nouns in this sentence.
Output: 4