Input: Sentence: 'A picture of a base to a blender'. Count the number of nouns in this sentence.
Output: 3