Input: Sentence: 'A street sign warns motorists of the speed limit'. Count the number of nouns in this sentence.
Output: 5