Input: Sentence: 'Closeup of a silver and black GPS device'. Count the number of nouns in this sentence.
Output: 3