Input: Sentence: 'A group of people hold a pair of scissors and a ribbon'. Count the number of nouns in this sentence.
Output: 5