Input: Sentence: 'a woman at a carnival ordering food to eat'. Count the number of nouns in this sentence.
Output: 3