Input: Sentence: 'A pawn shop on the corner of two streets'. Count the number of nouns in this sentence.
Output: 4