Input: Sentence: 'a bike chained onto a double parking meter'. Count the number of nouns in this sentence.
Output: 3