Input: Sentence: 'Small roadway on a peaceful sunny afternoon in a mid city setting'. Count the number of nouns in this sentence.
Output: 3