Input: Sentence: 'A guy on a horse on a busy city street'. Count the number of nouns in this sentence.
Output: 4