Input: Sentence: 'A cat looking at a storefront out of a car window'. Count the number of nouns in this sentence.
Output: 4