Input: Sentence: 'A lady sits down to a plate of smoked sausage dinner'. Count the number of nouns in this sentence.
Output: 4