Input: Sentence: 'The long bus is parked in front of the building'. Count the number of nouns in this sentence.
Output: 3