Input: Sentence: 'A bike stands alone beside a rock wall'. Count the number of nouns in this sentence.
Output: 3