Input: Sentence: 'A person sitting on a motor bike on a street'. Count the number of nouns in this sentence.
Output: 4