Input: Sentence: 'a vintage photo of a bike parked in front of a building'. Count the number of nouns in this sentence.
Output: 4