Input: Sentence: 'a cat siting next to a chair on a porch'. Count the number of nouns in this sentence.
Output: 4