Input: Sentence: 'The walkway is built to pass over the top of the roadway'. Count the number of nouns in this sentence.
Output: 3