Input: Sentence: 'A close shot of a knife and cheese cut into sections'. Count the number of nouns in this sentence.
Output: 4