Input: Sentence: 'A squirrel is eating a piece of food on the ground'. Count the number of nouns in this sentence.
Output: 4