Input: Sentence: 'This outhouse is vey dirty and there is graffiti on the wall'. Count the number of nouns in this sentence.
Output: 3