Input: Sentence: 'a black dog carrying a blue and black case filled with items'. Count the number of nouns in this sentence.
Output: 3