Input: Sentence: 'A room with a television and laptop turned on sitting on a dresser along with other random items'. Count the number of nouns in this sentence.
Output: 5