Input: Sentence: 'A women holding a fork while looking at a cake'. Count the number of nouns in this sentence.
Output: 3