Input: Sentence: 'The men are playing a video game with the controllers'. Count the number of nouns in this sentence.
Output: 4