Input: Sentence: 'Two kids smiling while eating a meal at a restaurant'. Count the number of nouns in this sentence.
Output: 3